Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00156/0.00156, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001837/0.001837, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 46.96 MB / 361.6 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 71.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 66.02 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01376/0.3849, allocations: 9.94 MB / 0.5715 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009191/0.3941, allocations: 3.875 MB / 0.5753 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.3959, allocations: 75.62 kB / 0.5754 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005667/0.4015, allocations: 2.433 MB / 0.5778 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.4078, allocations: 1.891 MB / 0.5796 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.4097, allocations: 0.7877 MB / 0.5804 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006496/0.4162, allocations: 4.511 MB / 0.5848 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004001/0.4202, allocations: 2.786 MB / 0.5875 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.4233, allocations: 1.585 MB / 0.589 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.4274, allocations: 2.391 MB / 0.5914 GB, free: 5.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.4285, allocations: 332 kB / 0.5917 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.4307, allocations: 0.8817 MB / 0.5926 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.4329, allocations: 1.963 MB / 0.5945 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.4354, allocations: 1.67 MB / 0.5961 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009366/0.4447, allocations: 6.87 MB / 0.6028 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4447, allocations: 0 / 0.6028 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4447, allocations: 0 / 0.6028 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002419/0.445, allocations: 0 / 0.6028 GB, free: 10.04 MB / 446.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.01142/0.4564, allocations: 4.837 MB / 0.6075 GB, free: 5.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4565, allocations: 12.03 kB / 0.6076 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00741/0.4639, allocations: 1.971 MB / 0.6095 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/0.47, allocations: 2.277 MB / 0.6117 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/0.4703, allocations: 262.4 kB / 0.612 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.4713, allocations: 323.8 kB / 0.6123 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.4907, allocations: 10.33 MB / 0.6224 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.4909, allocations: 55.56 kB / 0.6224 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/0.4913, allocations: 155.9 kB / 0.6226 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002906/0.4942, allocations: 1.908 MB / 0.6244 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.5115, allocations: 8.157 MB / 0.6324 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05002/0.5615, allocations: 36.75 MB / 0.6683 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008115/0.5696, allocations: 2.725 MB / 0.6709 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.5713, allocations: 0.9579 MB / 0.6719 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008893/0.5802, allocations: 4.286 MB / 0.6761 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.502e-05/0.5802, allocations: 55.5 kB / 0.6761 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 5.811e-06/0.5802, allocations: 0 / 0.6761 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02644/0.6067, allocations: 9.551 MB / 0.6854 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.6068, allocations: 200.9 kB / 0.6856 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005537/0.6123, allocations: 3.792 MB / 0.6893 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.6126, allocations: 45.7 kB / 0.6894 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002696/0.6153, allocations: 3.339 MB / 0.6926 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000912/0.6162, allocations: 0.6591 MB / 0.6933 GB, free: 11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.6179, allocations: 1.231 MB / 0.6945 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.618, allocations: 309.1 kB / 0.6948 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.6209, allocations: 1.663 MB / 0.6964 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006487/0.6274, allocations: 5.592 MB / 0.7019 GB, free: 248 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.6382, allocations: 7.8 MB / 0.7095 GB, free: 6.523 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/0.6383, allocations: 40 kB / 0.7095 GB, free: 6.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01581/0.6542, allocations: 6.907 MB / 0.7163 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.6543, allocations: 64.19 kB / 0.7163 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002068/0.6545, allocations: 140 kB / 0.7165 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.6547, allocations: 187.9 kB / 0.7166 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/0.6598, allocations: 1.435 MB / 0.718 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002719/0.6601, allocations: 267 kB / 0.7183 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005009/0.6651, allocations: 300.2 kB / 0.7186 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/0.6662, allocations: 380 kB / 0.7189 GB, free: 12.82 MB / 0.5606 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 (775): * Single equations (assignments): 772 * 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.004252/0.6705, allocations: 2.033 MB / 0.7209 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008362/0.6713, allocations: 329.8 kB / 0.7212 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000788/0.6721, allocations: 378.6 kB / 0.7216 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.6721, allocations: 11.91 kB / 0.7216 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6721, allocations: 0 / 0.7216 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007882/0.6729, allocations: 281.8 kB / 0.7219 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/0.6732, allocations: 27.94 kB / 0.7219 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009732/0.6742, allocations: 55.94 kB / 0.722 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.6743, allocations: 88.88 kB / 0.722 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003334/0.6777, allocations: 1.974 MB / 0.724 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004923/0.6826, allocations: 3.187 MB / 0.7271 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001157/0.6838, allocations: 0.6753 MB / 0.7277 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004693/0.6884, allocations: 2.164 MB / 0.7299 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of Backend: time 5.11e-07/0.6885, allocations: 0 / 0.7299 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3179/1.006, allocations: 3.293 MB / 0.7331 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01915/1.025, allocations: 8.776 MB / 0.7416 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07411/1.1, allocations: 38.72 MB / 0.7795 GB, free: 118.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.142027788002451]