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.0007906/0.0007906, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009727/0.001763, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006872/0.0006872, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008594/0.001547, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9999/0.9999, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.11, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2566/0.2566, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03889/0.2955, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 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 1.744e-06/1.744e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.721e-05, allocations: 3.078 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01225/0.01228, allocations: 10.84 MB / 303.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008674/0.02095, allocations: 4.155 MB / 307.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.02262, allocations: 75.62 kB / 307.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.02538, allocations: 2.538 MB / 310.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.03059, allocations: 1.924 MB / 312.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.03234, allocations: 0.8031 MB / 313 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005401/0.03774, allocations: 5.045 MB / 318 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003716/0.04145, allocations: 2.972 MB / 321 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.04507, allocations: 2.576 MB / 323.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.04795, allocations: 2.342 MB / 325.9 MB, free: 4.844 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007604/0.04872, allocations: 332 kB / 326.2 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.05007, allocations: 0.9362 MB / 327.2 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.05129, allocations: 1.827 MB / 329 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.05291, allocations: 1.059 MB / 330.1 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004248/0.05716, allocations: 4.144 MB / 334.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.05717, allocations: 8 kB / 334.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.05717, allocations: 3.938 kB / 334.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001786/0.05735, allocations: 0 / 334.2 MB, free: 12.52 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.005596/0.06295, allocations: 5.317 MB / 339.5 MB, free: 7.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.06298, allocations: 12.02 kB / 339.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/0.06645, allocations: 1.227 MB / 340.8 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.06906, allocations: 1.774 MB / 342.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.06925, allocations: 250.6 kB / 342.8 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/0.0697, allocations: 328.2 kB / 343.1 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007145/0.07685, allocations: 5.259 MB / 348.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.07695, allocations: 47.58 kB / 348.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/0.07728, allocations: 163.8 kB / 348.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/0.0792, allocations: 1.713 MB / 350.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005925/0.08512, allocations: 2.543 MB / 352.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03036/0.1155, allocations: 32.14 MB / 385 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.1198, allocations: 1.847 MB / 386.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.1203, allocations: 327.3 kB / 387.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005396/0.1257, allocations: 3.473 MB / 390.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1258, allocations: 51.56 kB / 390.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=145): time 4.709e-06/0.1258, allocations: 0 / 390.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.009229/0.135, allocations: 4.382 MB / 395 MB, free: 13.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.1351, allocations: 145.5 kB / 395.2 MB, free: 13.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.1377, allocations: 3.185 MB / 398.4 MB, free: 9.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.1377, allocations: 53.69 kB / 398.4 MB, free: 9.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.1391, allocations: 3.16 MB / 401.6 MB, free: 6.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/0.1394, allocations: 0.6435 MB / 402.2 MB, free: 6.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.1405, allocations: 1.164 MB / 403.4 MB, free: 4.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1406, allocations: 309.1 kB / 403.7 MB, free: 4.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.1416, allocations: 0.7041 MB / 404.4 MB, free: 3.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.1442, allocations: 4.568 MB / 409 MB, free: 13.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/0.1486, allocations: 5.787 MB / 414.7 MB, free: 5.559 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.401e-05/0.1487, allocations: 40 kB / 414.8 MB, free: 5.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.005127/0.1538, allocations: 4.118 MB / 418.9 MB, free: 1.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.1539, allocations: 64 kB / 419 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001831/0.154, allocations: 140 kB / 419.1 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.1542, allocations: 184 kB / 419.3 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.1568, allocations: 1.601 MB / 420.9 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001612/0.157, allocations: 278.9 kB / 421.2 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.1593, allocations: 275.8 kB / 421.4 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.1595, allocations: 340 kB / 421.8 MB, free: 14.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 (784): * Single equations (assignments): 781 * 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.00106/0.1606, allocations: 0.6338 MB / 422.4 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.1609, allocations: 207.8 kB / 422.6 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.1612, allocations: 323.1 kB / 422.9 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.1612, allocations: 20 kB / 422.9 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1613, allocations: 0 / 422.9 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.1613, allocations: 7.969 kB / 422.9 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.1659, allocations: 4.051 MB / 427 MB, free: 9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.1659, allocations: 21 kB / 427 MB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.1665, allocations: 307.5 kB / 427.3 MB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/0.1672, allocations: 321.6 kB / 427.6 MB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.75e-05/0.1672, allocations: 24 kB / 427.6 MB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.1673, allocations: 59.95 kB / 427.7 MB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.1673, allocations: 35.86 kB / 427.7 MB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/0.1673, allocations: 27.88 kB / 427.8 MB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.1687, allocations: 1.894 MB / 429.7 MB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.1689, allocations: 51.97 kB / 429.7 MB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.1695, allocations: 48 kB / 429.8 MB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1696, allocations: 147.3 kB / 429.9 MB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.1696, allocations: 59.98 kB / 430 MB, free: 5.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001442/0.1711, allocations: 1.309 MB / 431.3 MB, free: 4.465 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1711, allocations: 0 / 431.3 MB, free: 4.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0038/0.1749, allocations: 0.9881 MB / 432.3 MB, free: 3.477 MB / 426.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 (142): * Single equations (assignments): 139 * 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.0003282/0.1752, allocations: 207.7 kB / 432.5 MB, free: 3.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.178, allocations: 2.324 MB / 434.8 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001703/0.1782, allocations: 112.2 kB / 434.9 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.1786, allocations: 394.8 kB / 435.3 MB, free: 464 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1339/0.3124, allocations: 0.6483 MB / 435.9 MB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.3236, allocations: 7.84 MB / 443.8 MB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.3247, allocations: 1.193 MB / 445 MB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001203/0.3259, allocations: 0.5006 MB / 445.5 MB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/0.3265, allocations: 0.5575 MB / 446 MB, free: 108.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.644e-06/0.3265, allocations: 0 / 446 MB, free: 108.2 MB / 426.7 MB Notification: Performance of Templates: time 0.03793/0.3644, allocations: 25.42 MB / 471.4 MB, free: 92.47 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8625334296375513]