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.002291/0.002291, allocations: 92.97 kB / 20.21 MB, free: 4.207 MB / 18.57 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.00241/0.00241, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.354/1.354, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 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.2183/0.2183, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.54e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0103/0.01032, allocations: 10.99 MB / 357.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02034, allocations: 3.965 MB / 361.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.02192, allocations: 75.62 kB / 362 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005606/0.02753, allocations: 2.678 MB / 364.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.03324, allocations: 2.002 MB / 366.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.03519, allocations: 0.8654 MB / 367.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007832/0.04302, allocations: 5.09 MB / 372.6 MB, free: 40 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005953/0.04898, allocations: 3.392 MB / 376 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005536/0.05451, allocations: 2.479 MB / 378.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/0.05962, allocations: 2.553 MB / 381 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.0608, allocations: 340 kB / 381.4 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.06337, allocations: 0.94 MB / 382.3 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002932/0.06631, allocations: 2.1 MB / 384.4 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00274/0.06905, allocations: 1.344 MB / 385.7 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.07982, allocations: 6.954 MB / 392.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.07983, allocations: 0 / 392.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.07983, allocations: 0 / 392.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000256/0.08008, allocations: 4 kB / 392.7 MB, free: 11.85 MB / 330.7 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.01416/0.09424, allocations: 5.771 MB / 398.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.09429, allocations: 15.95 kB / 398.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009512/0.1038, allocations: 2.522 MB / 401 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006389/0.1102, allocations: 2.143 MB / 403.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.1105, allocations: 250.6 kB / 403.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.1116, allocations: 332.2 kB / 403.7 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.1293, allocations: 7.001 MB / 410.7 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.1295, allocations: 43.64 kB / 410.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004731/0.1299, allocations: 159.9 kB / 410.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003451/0.1334, allocations: 1.904 MB / 412.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.1477, allocations: 3.585 MB / 416.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2354/0.3832, allocations: 48.88 MB / 465.3 MB, free: 63.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006348/0.3895, allocations: 2.084 MB / 467.4 MB, free: 63.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/0.3903, allocations: 0.5161 MB / 467.9 MB, free: 63.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007063/0.3974, allocations: 4.064 MB / 472 MB, free: 61.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3974, allocations: 51.67 kB / 472 MB, free: 61.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.486e-06/0.3974, allocations: 0 / 472 MB, free: 61.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01947/0.4169, allocations: 8.219 MB / 480.2 MB, free: 58.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.417, allocations: 205.5 kB / 480.4 MB, free: 58.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004672/0.4216, allocations: 4.417 MB / 484.8 MB, free: 55.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.4219, allocations: 45.7 kB / 484.9 MB, free: 55.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.4241, allocations: 3.678 MB / 488.6 MB, free: 52.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007779/0.4249, allocations: 0.7121 MB / 489.3 MB, free: 51.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002083/0.427, allocations: 1.531 MB / 490.8 MB, free: 50.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4271, allocations: 480.8 kB / 491.3 MB, free: 49.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.4284, allocations: 0.6521 MB / 491.9 MB, free: 48.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.4314, allocations: 6.622 MB / 498.6 MB, free: 39.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005044/0.4365, allocations: 7.909 MB / 0.4946 GB, free: 29.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.768e-05/0.4366, allocations: 40 kB / 0.4946 GB, free: 29.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.008077/0.4447, allocations: 5.252 MB / 0.4998 GB, free: 24.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.4447, allocations: 64 kB / 0.4998 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-05/0.4448, allocations: 136 kB / 0.5 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.4449, allocations: 180 kB / 0.5001 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/0.4485, allocations: 1.442 MB / 0.5015 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001318/0.4486, allocations: 267 kB / 0.5018 GB, free: 21.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/0.4525, allocations: 379.5 kB / 0.5022 GB, free: 21.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/0.4528, allocations: 379.6 kB / 0.5025 GB, free: 21.23 MB / 378.7 MB 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.001441/0.4543, allocations: 0.7667 MB / 0.5033 GB, free: 20.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/0.4548, allocations: 369.8 kB / 0.5036 GB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.4563, allocations: 0.8567 MB / 0.5045 GB, free: 19.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.4563, allocations: 23.98 kB / 0.5045 GB, free: 19.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.4563, allocations: 11.88 kB / 0.5045 GB, free: 19.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4563, allocations: 3.984 kB / 0.5045 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008225/0.4645, allocations: 5.871 MB / 0.5102 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.4645, allocations: 16 kB / 0.5102 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.4654, allocations: 280.4 kB / 0.5105 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/0.4654, allocations: 24 kB / 0.5105 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.4655, allocations: 59.92 kB / 0.5106 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-05/0.4655, allocations: 31.92 kB / 0.5106 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.4655, allocations: 27.88 kB / 0.5106 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.4677, allocations: 2.608 MB / 0.5132 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.4687, allocations: 453.5 kB / 0.5136 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/0.469, allocations: 51.98 kB / 0.5137 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.4702, allocations: 107.8 kB / 0.5138 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.4704, allocations: 159.3 kB / 0.5139 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.4704, allocations: 64 kB / 0.514 GB, free: 8.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00216/0.4726, allocations: 1.825 MB / 0.5158 GB, free: 6.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4726, allocations: 0 / 0.5158 GB, free: 6.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004266/0.4769, allocations: 1.004 MB / 0.5167 GB, free: 5.984 MB / 378.7 MB 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.0003804/0.4772, allocations: 230.4 kB / 0.517 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004124/0.4814, allocations: 2.92 MB / 0.5198 GB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.4814, allocations: 4 kB / 0.5198 GB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.482, allocations: 0.5121 MB / 0.5203 GB, free: 2.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.484, allocations: 435.1 kB / 0.5207 GB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.4959, allocations: 7.806 MB / 0.5284 GB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003535/0.4995, allocations: 2.406 MB / 0.5307 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003905/0.5034, allocations: 1.575 MB / 0.5323 GB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.5039, allocations: 232.5 kB / 0.5325 GB, free: 5.496 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5039, allocations: 4 kB / 0.5325 GB, free: 5.492 MB / 394.7 MB Notification: Performance of Templates: time 0.05723/0.5611, allocations: 22.32 MB / 0.5543 GB, free: 15.35 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.476130287977867]