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.0009526/0.0009526, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002408, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008426/0.0008426, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002062, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.056/1.056, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1267/1.183, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.3215/0.3215, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03247/0.354, allocations: 13.11 MB / 291.5 MB, free: 7.336 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.292e-06/1.292e-06, allocations: 0 / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.126e-05, allocations: 3.188 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.02347/0.02349, allocations: 10.84 MB / 303.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01852/0.04201, allocations: 4.155 MB / 307.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.04404, allocations: 79.62 kB / 307.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007496/0.05154, allocations: 2.542 MB / 310.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008541/0.06008, allocations: 1.924 MB / 312.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.06218, allocations: 0.7992 MB / 313.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00827/0.07045, allocations: 5.031 MB / 318.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004144/0.0746, allocations: 2.976 MB / 321.2 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004671/0.07927, allocations: 2.583 MB / 323.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/0.08244, allocations: 2.338 MB / 326.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00081/0.08325, allocations: 332 kB / 326.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.08533, allocations: 0.9323 MB / 327.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.08744, allocations: 1.827 MB / 329.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.0891, allocations: 1.056 MB / 330.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.09471, allocations: 4.148 MB / 334.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.09473, allocations: 4 kB / 334.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.09473, allocations: 0 / 334.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002368/0.09497, allocations: 0 / 334.4 MB, free: 12.45 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.007963/0.1029, allocations: 5.324 MB / 339.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.103, allocations: 8.031 kB / 339.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00418/0.1072, allocations: 1.227 MB / 341 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.1105, allocations: 1.774 MB / 342.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.1107, allocations: 246.7 kB / 343 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004423/0.1111, allocations: 336.2 kB / 343.3 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007776/0.1189, allocations: 5.252 MB / 348.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.119, allocations: 47.58 kB / 348.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.1193, allocations: 163.8 kB / 348.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001825/0.1211, allocations: 1.607 MB / 350.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006324/0.1274, allocations: 2.534 MB / 352.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0335/0.1609, allocations: 32.15 MB / 385.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.1649, allocations: 1.856 MB / 386.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.1655, allocations: 328 kB / 387.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005254/0.1708, allocations: 3.461 MB / 390.7 MB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.1708, allocations: 51.5 kB / 390.7 MB, free: 1.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=145): time 3.687e-06/0.1708, allocations: 0 / 390.7 MB, free: 1.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.0108/0.1816, allocations: 4.472 MB / 395.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1817, allocations: 141.5 kB / 395.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.1846, allocations: 3.185 MB / 398.5 MB, free: 9.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.1847, allocations: 53.64 kB / 398.6 MB, free: 9.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.1863, allocations: 3.153 MB / 401.7 MB, free: 6.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.1868, allocations: 0.6513 MB / 402.4 MB, free: 6.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.1879, allocations: 1.172 MB / 403.6 MB, free: 4.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.188, allocations: 305.1 kB / 403.9 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.1893, allocations: 0.7002 MB / 404.6 MB, free: 3.836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/0.1929, allocations: 4.56 MB / 409.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005847/0.1987, allocations: 6.258 MB / 415.4 MB, free: 5.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/0.1988, allocations: 40 kB / 415.4 MB, free: 5.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.00611/0.205, allocations: 4.105 MB / 419.5 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.205, allocations: 64 kB / 419.6 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.2051, allocations: 148 kB / 419.7 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/0.2053, allocations: 184 kB / 419.9 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.2081, allocations: 1.591 MB / 421.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000153/0.2082, allocations: 274.9 kB / 421.8 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.2116, allocations: 283.8 kB / 422 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/0.212, allocations: 328 kB / 422.4 MB, free: 14.04 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.001469/0.2134, allocations: 0.6379 MB / 423 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005282/0.214, allocations: 219.8 kB / 423.2 MB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.2143, allocations: 319.1 kB / 423.5 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.2144, allocations: 12 kB / 423.5 MB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.2144, allocations: 7.938 kB / 423.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2144, allocations: 7.969 kB / 423.6 MB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005379/0.2198, allocations: 4.052 MB / 427.6 MB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.2198, allocations: 24 kB / 427.6 MB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.2205, allocations: 309.8 kB / 427.9 MB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000703/0.2212, allocations: 329.6 kB / 428.3 MB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/0.2212, allocations: 24 kB / 428.3 MB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/0.2212, allocations: 44 kB / 428.3 MB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.06e-05/0.2213, allocations: 35.86 kB / 428.4 MB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/0.2213, allocations: 27.88 kB / 428.4 MB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.2229, allocations: 1.904 MB / 430.3 MB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.2232, allocations: 55.97 kB / 430.3 MB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/0.2239, allocations: 48 kB / 430.4 MB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.224, allocations: 147.4 kB / 430.5 MB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.2241, allocations: 56 kB / 430.6 MB, free: 5.266 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001414/0.2255, allocations: 1.317 MB / 431.9 MB, free: 3.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2255, allocations: 0 / 431.9 MB, free: 3.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004266/0.2297, allocations: 0.9843 MB / 432.9 MB, free: 2.973 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.0004606/0.2302, allocations: 199.8 kB / 433.1 MB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.2338, allocations: 2.458 MB / 435.5 MB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002139/0.234, allocations: 108.2 kB / 435.7 MB, free: 232 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.163/0.3969, allocations: 474.9 kB / 436.1 MB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/0.4003, allocations: 2.856 MB / 439 MB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.4111, allocations: 7.85 MB / 446.8 MB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.4122, allocations: 1.184 MB / 448 MB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001287/0.4135, allocations: 0.4938 MB / 448.5 MB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/0.4141, allocations: 0.5407 MB / 449 MB, free: 106.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/0.4141, allocations: 0 / 449 MB, free: 106.2 MB / 426.7 MB Notification: Performance of Templates: time 0.04339/0.4575, allocations: 23.89 MB / 472.9 MB, free: 91.35 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9797857580706477]