Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 214 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.24 MB / 331.1 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.89 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1104, allocations: 61.03 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01343/0.1238, allocations: 11.53 MB / 0.5282 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008543/0.1324, allocations: 4.086 MB / 0.5322 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.1342, allocations: 79.62 kB / 0.5322 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005039/0.1392, allocations: 2.546 MB / 0.5347 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004878/0.1441, allocations: 1.926 MB / 0.5366 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.1458, allocations: 0.7917 MB / 0.5374 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2145/0.3603, allocations: 4.455 MB / 0.5417 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004754/0.3651, allocations: 2.793 MB / 0.5445 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/0.3688, allocations: 1.61 MB / 0.546 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004786/0.3735, allocations: 2.41 MB / 0.5484 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00174/0.3753, allocations: 337.4 kB / 0.5487 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.3786, allocations: 0.9995 MB / 0.5497 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003061/0.3817, allocations: 1.997 MB / 0.5516 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003843/0.3855, allocations: 2.267 MB / 0.5539 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.3964, allocations: 6.937 MB / 0.5606 GB, free: 5.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3964, allocations: 1.438 kB / 0.5606 GB, free: 5.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3964, allocations: 0 / 0.5606 GB, free: 5.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002842/0.3967, allocations: 4.438 kB / 0.5606 GB, free: 5.949 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01466/0.4114, allocations: 4.926 MB / 0.5654 GB, free: 3.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4114, allocations: 9.625 kB / 0.5655 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002393/0.4117, allocations: 110 kB / 0.5656 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001784/0.4134, allocations: 0.7263 MB / 0.5663 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008071/0.4215, allocations: 2 MB / 0.5682 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007238/0.4287, allocations: 3.232 MB / 0.5714 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.429, allocations: 253.6 kB / 0.5716 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.4303, allocations: 330.4 kB / 0.5719 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.4524, allocations: 10.21 MB / 0.5819 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/0.4526, allocations: 49.64 kB / 0.5819 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/0.4537, allocations: 162.6 kB / 0.5821 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00312/0.4568, allocations: 1.905 MB / 0.584 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01994/0.4768, allocations: 8.147 MB / 0.5919 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06058/0.5373, allocations: 39.23 MB / 0.6302 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008693/0.546, allocations: 2.694 MB / 0.6329 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.5478, allocations: 0.9599 MB / 0.6338 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00968/0.5575, allocations: 4.566 MB / 0.6383 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.5576, allocations: 55.5 kB / 0.6383 GB, free: 2.641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 4.779e-06/0.5576, allocations: 3.938 kB / 0.6383 GB, free: 2.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02633/0.5839, allocations: 9.641 MB / 0.6477 GB, free: 8.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/0.5841, allocations: 204.5 kB / 0.6479 GB, free: 8.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007367/0.5915, allocations: 4.105 MB / 0.6519 GB, free: 4.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.5918, allocations: 49.7 kB / 0.652 GB, free: 4.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003029/0.5948, allocations: 3.318 MB / 0.6552 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009358/0.5957, allocations: 0.6672 MB / 0.6559 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002218/0.5979, allocations: 1.212 MB / 0.6571 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5981, allocations: 313.1 kB / 0.6574 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/0.6012, allocations: 1.632 MB / 0.6589 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007276/0.6085, allocations: 5.507 MB / 0.6643 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.6195, allocations: 7.751 MB / 0.6719 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.6196, allocations: 40 kB / 0.6719 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01596/0.6356, allocations: 6.879 MB / 0.6787 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.6357, allocations: 67.75 kB / 0.6787 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/0.6359, allocations: 139.7 kB / 0.6788 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.6361, allocations: 180.7 kB / 0.679 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00492/0.641, allocations: 1.423 MB / 0.6804 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002461/0.6413, allocations: 267 kB / 0.6807 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0046/0.6459, allocations: 299.6 kB / 0.681 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009297/0.6468, allocations: 372 kB / 0.6813 GB, free: 2.902 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 764 * Array equations: 3 * 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 0.004121/0.6509, allocations: 2.05 MB / 0.6833 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007233/0.6516, allocations: 369.5 kB / 0.6837 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.6543, allocations: 1.341 MB / 0.685 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/0.6543, allocations: 18.97 kB / 0.685 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.6543, allocations: 4 kB / 0.685 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.6543, allocations: 11.91 kB / 0.685 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.666, allocations: 5.806 MB / 0.6907 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-05/0.6661, allocations: 20 kB / 0.6907 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6671, allocations: 283.5 kB / 0.691 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-05/0.6672, allocations: 24 kB / 0.691 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.6673, allocations: 44.56 kB / 0.691 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.022e-05/0.6673, allocations: 39.86 kB / 0.6911 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.922e-05/0.6673, allocations: 23.88 kB / 0.6911 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/0.6718, allocations: 3.301 MB / 0.6943 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/0.6735, allocations: 481.3 kB / 0.6948 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008053/0.6744, allocations: 51.61 kB / 0.6948 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.6759, allocations: 63.95 kB / 0.6949 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.6761, allocations: 151.8 kB / 0.695 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.6762, allocations: 68 kB / 0.6951 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005692/0.6819, allocations: 2.54 MB / 0.6976 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6819, allocations: 0 / 0.6976 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005908/0.6878, allocations: 0.8965 MB / 0.6984 GB, free: 0.8047 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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.005349/0.6932, allocations: 3.969 MB / 0.7023 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007634/0.7008, allocations: 3.648 MB / 0.7059 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.26e-05/0.7008, allocations: 4 kB / 0.7059 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.7021, allocations: 0.7106 MB / 0.7066 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.7056, allocations: 469.7 kB / 0.707 GB, free: 7.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07339/0.779, allocations: 41.9 MB / 0.748 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004861/0.7838, allocations: 3.177 MB / 0.7511 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004596/0.7884, allocations: 1.818 MB / 0.7528 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002983/0.7914, allocations: 1.878 MB / 0.7547 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/0.7914, allocations: 3.938 kB / 0.7547 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3621/1.153, allocations: 64.42 MB / 0.8176 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.24/25.39, allocations: 0 / 0.8176 GB, free: 196.1 MB / 0.6075 GB " [Timeout remaining time 634] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.729668399028014]