Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009776/0.0009776, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.069/1.069, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.404e-05, allocations: 2.312 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01049/0.01052, allocations: 10.71 MB / 389.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007075/0.0176, allocations: 3.952 MB / 393.9 MB, free: 3.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.01966, allocations: 83.56 kB / 394 MB, free: 3.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003446/0.02311, allocations: 2.628 MB / 396.6 MB, free: 392 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.02757, allocations: 1.979 MB / 398.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.02913, allocations: 0.8616 MB / 399.4 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005677/0.03481, allocations: 5.191 MB / 404.6 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004482/0.03929, allocations: 3.373 MB / 408 MB, free: 4.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.04392, allocations: 2.499 MB / 410.5 MB, free: 2.406 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.04711, allocations: 2.459 MB / 413 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009718/0.04808, allocations: 332 kB / 413.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.04956, allocations: 0.905 MB / 414.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.05098, allocations: 2.057 MB / 416.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.05276, allocations: 1.312 MB / 417.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.05702, allocations: 4.456 MB / 422 MB, free: 6.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.05703, allocations: 4 kB / 422 MB, free: 6.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.05703, allocations: 0 / 422 MB, free: 6.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001272/0.05716, allocations: 4 kB / 422 MB, free: 6.852 MB / 394.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.005352/0.06251, allocations: 5.005 MB / 427 MB, free: 1.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.06255, allocations: 12.03 kB / 427 MB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.06598, allocations: 1.574 MB / 428.6 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.06839, allocations: 1.91 MB / 430.5 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.06853, allocations: 242.7 kB / 430.8 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004066/0.06894, allocations: 332.2 kB / 431.1 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/0.07713, allocations: 5.919 MB / 437 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-05/0.07722, allocations: 43.58 kB / 437.1 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/0.07751, allocations: 159.9 kB / 437.2 MB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001435/0.07894, allocations: 1.705 MB / 438.9 MB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005363/0.08431, allocations: 2.535 MB / 441.5 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.209/0.2934, allocations: 45.09 MB / 486.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/0.2981, allocations: 2.014 MB / 488.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/0.2987, allocations: 410.7 kB / 489 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004765/0.3034, allocations: 3.812 MB / 492.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.3035, allocations: 55.44 kB / 492.8 MB, free: 40.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 4.308e-06/0.3035, allocations: 0 / 492.8 MB, free: 40.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01373/0.3172, allocations: 5.075 MB / 497.9 MB, free: 39.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.3173, allocations: 200.8 kB / 498.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.3208, allocations: 3.528 MB / 0.4899 GB, free: 38.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.3209, allocations: 48.95 kB / 0.4899 GB, free: 37.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.3224, allocations: 3.525 MB / 0.4934 GB, free: 35.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.3228, allocations: 0.6662 MB / 0.494 GB, free: 35.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.3241, allocations: 1.351 MB / 0.4953 GB, free: 34.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.3241, allocations: 481.3 kB / 0.4958 GB, free: 34.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.3253, allocations: 0.5221 MB / 0.4963 GB, free: 33.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/0.3288, allocations: 6.441 MB / 0.5026 GB, free: 26.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005631/0.3345, allocations: 7.573 MB / 0.51 GB, free: 17.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/0.3346, allocations: 40.53 kB / 0.51 GB, free: 17.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.00762/0.3422, allocations: 4.853 MB / 0.5148 GB, free: 16.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.3423, allocations: 66 kB / 0.5148 GB, free: 16.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/0.3425, allocations: 140.3 kB / 0.515 GB, free: 16.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.3428, allocations: 185.2 kB / 0.5151 GB, free: 16.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.3457, allocations: 1.429 MB / 0.5165 GB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001829/0.3459, allocations: 273.1 kB / 0.5168 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/0.3493, allocations: 278.4 kB / 0.5171 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/0.3496, allocations: 338.1 kB / 0.5174 GB, free: 16.02 MB / 410.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.001157/0.3507, allocations: 0.6729 MB / 0.518 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004322/0.3512, allocations: 374.7 kB / 0.5184 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.3515, allocations: 326.2 kB / 0.5187 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.3515, allocations: 15.22 kB / 0.5187 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.3516, allocations: 0 / 0.5187 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3516, allocations: 9.656 kB / 0.5187 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/0.3572, allocations: 4.863 MB / 0.5235 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.3572, allocations: 18.47 kB / 0.5235 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.3577, allocations: 266.8 kB / 0.5237 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/0.3578, allocations: 23.59 kB / 0.5238 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.3578, allocations: 51.06 kB / 0.5238 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.3578, allocations: 34.08 kB / 0.5239 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/0.3578, allocations: 31.53 kB / 0.5239 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3597, allocations: 2.367 MB / 0.5262 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.3602, allocations: 328.5 kB / 0.5265 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.3604, allocations: 51.08 kB / 0.5266 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.361, allocations: 53.12 kB / 0.5266 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3611, allocations: 150 kB / 0.5267 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.3612, allocations: 59.11 kB / 0.5268 GB, free: 10.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001412/0.3626, allocations: 1.404 MB / 0.5282 GB, free: 10.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3626, allocations: 0 / 0.5282 GB, free: 10.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005193/0.3678, allocations: 0.9822 MB / 0.5291 GB, free: 10.17 MB / 410.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.00047/0.3682, allocations: 210.6 kB / 0.5293 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004382/0.3726, allocations: 2.503 MB / 0.5318 GB, free: 8.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.3726, allocations: 8.188 kB / 0.5318 GB, free: 8.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.3731, allocations: 426.4 kB / 0.5322 GB, free: 7.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.3756, allocations: 429.1 kB / 0.5326 GB, free: 7.566 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.3859, allocations: 7.667 MB / 0.5401 GB, free: 120 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/0.3886, allocations: 1.3 MB / 0.5414 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001585/0.3902, allocations: 0.5023 MB / 0.5419 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007455/0.3909, allocations: 0.6048 MB / 0.5424 GB, free: 14.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.863e-06/0.3909, allocations: 0 / 0.5424 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Templates: time 0.04278/0.4337, allocations: 24.73 MB / 0.5666 GB, free: 8.84 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.262096154969186]