Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 60.16 kB / 307 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.1005, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003717/0.1043, allocations: 1.641 MB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.1046, allocations: 71.72 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1048, allocations: 0 / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.1049, allocations: 3.938 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.105, allocations: 27.78 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.1051, allocations: 7.984 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1053, allocations: 63.73 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1054, allocations: 43.88 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.1055, allocations: 15.94 kB / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.1055, allocations: 31.86 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1056, allocations: 4 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.1056, allocations: 4 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.1056, allocations: 11.98 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.1057, allocations: 23.88 kB / 359.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1058, allocations: 68 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1058, allocations: 0 / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1058, allocations: 4 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1059, allocations: 0 / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005637/0.1064, allocations: 363.4 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1065, allocations: 8.031 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.1066, allocations: 46.73 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1066, allocations: 8.844 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1068, allocations: 180.2 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1069, allocations: 4.375 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.1069, allocations: 8.375 kB / 360.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.1071, allocations: 68.77 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.1072, allocations: 11.84 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1072, allocations: 7.938 kB / 360.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1072, allocations: 4 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.1073, allocations: 39.91 kB / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008005/0.1081, allocations: 375.6 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1083, allocations: 58.56 kB / 360.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.1083, allocations: 20.84 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.1083, allocations: 0 / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1084, allocations: 30.56 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1084, allocations: 3.938 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000822/0.1092, allocations: 0.5213 MB / 361.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1092, allocations: 51.41 kB / 361.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1093, allocations: 117.8 kB / 361.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1094, allocations: 29.7 kB / 361.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.1094, allocations: 92.03 kB / 361.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1095, allocations: 31.47 kB / 361.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.1095, allocations: 29.7 kB / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1096, allocations: 322.8 kB / 362 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.1097, allocations: 16 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.1097, allocations: 57.14 kB / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1099, allocations: 93.02 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1099, allocations: 0 / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001721/0.1101, allocations: 113.4 kB / 362.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1101, allocations: 4 kB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1101, allocations: 4 kB / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1101, allocations: 0 / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.1102, allocations: 24.45 kB / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1102, allocations: 3.938 kB / 362.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.1103, allocations: 8.094 kB / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1103, allocations: 8 kB / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/0.1104, allocations: 126.8 kB / 362.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1104, allocations: 7.938 kB / 362.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.1105, allocations: 16.36 kB / 362.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1105, allocations: 0 / 362.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1105, allocations: 3.938 kB / 362.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1105, allocations: 4 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.1109, allocations: 414.4 kB / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.111, allocations: 8 kB / 362.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.1111, allocations: 16 kB / 362.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1111, allocations: 0 / 362.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1111, allocations: 11.98 kB / 362.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1111, allocations: 0 / 362.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1111, allocations: 8.156 kB / 362.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1114, allocations: 231.5 kB / 363.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.1114, allocations: 89.11 kB / 363.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1114, allocations: 8 kB / 363.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.1115, allocations: 0 / 363.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.1115, allocations: 7.984 kB / 363.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1115, allocations: 4 kB / 363.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.1116, allocations: 95.27 kB / 363.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 0 / 363.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1119, allocations: 16 kB / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005198/0.1124, allocations: 0.7638 MB / 364.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.1125, allocations: 67.89 kB / 364.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1126, allocations: 0 / 364.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.1126, allocations: 31.92 kB / 364.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.113, allocations: 11.28 kB / 364.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1146, allocations: 1.67 MB / 365.9 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1149, allocations: 0.6963 MB / 366.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.157e-05/0.115, allocations: 12.36 kB / 366.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.115, allocations: 19.44 kB / 366.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.115, allocations: 4 kB / 366.6 MB, free: 4.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.1467, allocations: 1.859 MB / 368.5 MB, free: 2.434 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.447, allocations: 4 kB / 368.5 MB, free: 2.43 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches