Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001008/0.001008, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009851/0.0009851, allocations: 174.2 kB / 24.91 MB, free: 9.184 MB / 18.57 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.9504/0.9504, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2608/0.2608, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.871e-05, allocations: 5.406 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008139/0.008168, allocations: 10.75 MB / 334 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.01517, allocations: 4.127 MB / 338.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.01685, allocations: 75.62 kB / 338.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.02006, allocations: 2.612 MB / 340.8 MB, free: 8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.02406, allocations: 1.948 MB / 342.8 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.02545, allocations: 0.8694 MB / 343.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005053/0.03051, allocations: 5.203 MB / 348.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00338/0.03388, allocations: 3.237 MB / 352.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.03756, allocations: 2.432 MB / 354.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.04084, allocations: 2.365 MB / 356.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007583/0.0416, allocations: 332 kB / 357.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.04295, allocations: 0.9168 MB / 358.1 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.04427, allocations: 2.057 MB / 360.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.04575, allocations: 1.316 MB / 361.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004241/0.04999, allocations: 4.46 MB / 366 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.05, allocations: 0 / 366 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.05, allocations: 0 / 366 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001806/0.05018, allocations: 0 / 366 MB, free: 14.75 MB / 346.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.004967/0.05515, allocations: 4.461 MB / 370.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.05519, allocations: 12.03 kB / 370.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.05804, allocations: 1.14 MB / 371.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.06024, allocations: 1.781 MB / 373.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.06036, allocations: 246.7 kB / 373.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.06069, allocations: 328.2 kB / 373.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006159/0.06685, allocations: 5.256 MB / 379.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.171e-05/0.06694, allocations: 51.56 kB / 379.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.06719, allocations: 155.9 kB / 379.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/0.06861, allocations: 1.705 MB / 381.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004955/0.07356, allocations: 2.542 MB / 383.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/0.1002, allocations: 32.14 MB / 415.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.1035, allocations: 1.894 MB / 417.7 MB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.1039, allocations: 334.3 kB / 418 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004569/0.1085, allocations: 3.489 MB / 421.5 MB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1085, allocations: 47.56 kB / 421.5 MB, free: 4.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=145): time 3.336e-06/0.1085, allocations: 0 / 421.5 MB, free: 4.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.008783/0.1173, allocations: 4.467 MB / 426 MB, free: 396 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.1174, allocations: 204.9 kB / 426.2 MB, free: 148 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.12, allocations: 3.177 MB / 429.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.12, allocations: 49.7 kB / 429.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.1213, allocations: 3.153 MB / 432.6 MB, free: 9.719 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.1217, allocations: 0.6513 MB / 433.2 MB, free: 9.062 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.1227, allocations: 1.172 MB / 434.4 MB, free: 7.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.1227, allocations: 309.1 kB / 434.7 MB, free: 7.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.1238, allocations: 0.7002 MB / 435.4 MB, free: 6.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.1265, allocations: 4.56 MB / 440 MB, free: 332 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/0.1312, allocations: 5.791 MB / 445.7 MB, free: 8.555 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-05/0.1313, allocations: 40 kB / 445.8 MB, free: 8.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.005232/0.1366, allocations: 4.117 MB / 449.9 MB, free: 4.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.1366, allocations: 64 kB / 450 MB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.1367, allocations: 140 kB / 450.1 MB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/0.1368, allocations: 184 kB / 450.3 MB, free: 4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.1395, allocations: 1.501 MB / 451.8 MB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001298/0.1396, allocations: 278.9 kB / 452.1 MB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.1419, allocations: 275.7 kB / 452.3 MB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/0.1422, allocations: 332 kB / 452.7 MB, free: 1.629 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.001077/0.1433, allocations: 0.6338 MB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/0.1436, allocations: 219.8 kB / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.144, allocations: 315.1 kB / 453.8 MB, free: 464 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.144, allocations: 16 kB / 453.8 MB, free: 448 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.144, allocations: 0 / 453.8 MB, free: 448 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.144, allocations: 11.97 kB / 453.8 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1666/0.3106, allocations: 4.052 MB / 457.9 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.3106, allocations: 17.66 kB / 457.9 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.3111, allocations: 283.9 kB / 458.2 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.3112, allocations: 30.45 kB / 458.2 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.3112, allocations: 45.69 kB / 458.3 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.725e-05/0.3112, allocations: 41.33 kB / 458.3 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.3112, allocations: 26.03 kB / 458.3 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.3125, allocations: 1.901 MB / 460.2 MB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.3129, allocations: 323.4 kB / 460.5 MB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.3131, allocations: 49.02 kB / 460.6 MB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.3137, allocations: 51.16 kB / 460.6 MB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3138, allocations: 144.2 kB / 460.8 MB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.3139, allocations: 59.8 kB / 460.8 MB, free: 122.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.3149, allocations: 1.314 MB / 462.1 MB, free: 122 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3149, allocations: 0 / 462.1 MB, free: 122 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002725/0.3176, allocations: 0.9813 MB / 463.1 MB, free: 122 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.0002767/0.3179, allocations: 196.9 kB / 463.3 MB, free: 121.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.32, allocations: 2.339 MB / 465.7 MB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001436/0.3202, allocations: 98.97 kB / 465.8 MB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.3204, allocations: 392.3 kB / 466.1 MB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3217, allocations: 426.2 kB / 466.6 MB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/0.3284, allocations: 7.586 MB / 474.1 MB, free: 116 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/0.3292, allocations: 1.187 MB / 475.3 MB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009842/0.3302, allocations: 0.5026 MB / 475.8 MB, free: 115 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/0.3308, allocations: 0.5605 MB / 476.4 MB, free: 114.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3308, allocations: 0 / 476.4 MB, free: 114.5 MB / 426.7 MB Notification: Performance of Templates: time 0.03713/0.3679, allocations: 24.73 MB / 0.4894 GB, free: 90.93 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9640258378349245]