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.001452/0.001452, allocations: 96.27 kB / 20.95 MB, free: 3.586 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.001573/0.001573, allocations: 156.8 kB / 24.27 MB, free: 284 kB / 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.495/1.495, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3543/0.3543, allocations: 34.25 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 179] 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 8.656e-06/8.656e-06, allocations: 4 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.828e-05/5.694e-05, allocations: 3.297 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.02487/0.02493, allocations: 9.936 MB / 387.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009266/0.0342, allocations: 3.874 MB / 391 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.03602, allocations: 83.62 kB / 391.1 MB, free: 4.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005904/0.04192, allocations: 2.593 MB / 393.7 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.0476, allocations: 1.956 MB / 395.7 MB, free: 372 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.04963, allocations: 0.8537 MB / 396.5 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008174/0.0578, allocations: 5.226 MB / 401.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005653/0.06346, allocations: 3.357 MB / 405.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005468/0.06892, allocations: 2.424 MB / 407.5 MB, free: 4.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00458/0.0735, allocations: 2.498 MB / 410 MB, free: 1.934 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008766/0.07438, allocations: 340 kB / 410.4 MB, free: 1.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.0766, allocations: 0.9244 MB / 411.3 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003082/0.07969, allocations: 2.049 MB / 413.3 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00287/0.08255, allocations: 1.316 MB / 414.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.09301, allocations: 6.88 MB / 421.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.09301, allocations: 0 / 421.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.09302, allocations: 4 kB / 421.5 MB, free: 6.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002786/0.09329, allocations: 0 / 421.5 MB, free: 6.395 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.01285/0.1061, allocations: 4.9 MB / 426.4 MB, free: 1.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1062, allocations: 12.02 kB / 426.4 MB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.1165, allocations: 2.615 MB / 429.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00639/0.1229, allocations: 2.292 MB / 431.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003311/0.1232, allocations: 254.7 kB / 431.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.1245, allocations: 324.2 kB / 431.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/0.1462, allocations: 10.35 MB / 442.3 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.1463, allocations: 55.58 kB / 442.3 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/0.1468, allocations: 159.9 kB / 442.5 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1782/0.325, allocations: 1.901 MB / 444.4 MB, free: 96.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.3404, allocations: 8.169 MB / 452.5 MB, free: 94.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03533/0.3758, allocations: 37.02 MB / 489.6 MB, free: 67.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007786/0.3835, allocations: 2.866 MB / 492.4 MB, free: 66.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.385, allocations: 0.9599 MB / 493.4 MB, free: 66.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009713/0.3947, allocations: 4.419 MB / 497.8 MB, free: 64.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3947, allocations: 55.19 kB / 497.9 MB, free: 64.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 4.187e-06/0.3947, allocations: 0 / 497.9 MB, free: 64.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.02225/0.417, allocations: 10.03 MB / 0.496 GB, free: 59.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.4171, allocations: 198.2 kB / 0.4962 GB, free: 59.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/0.4222, allocations: 3.941 MB / 0.5 GB, free: 55.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.4224, allocations: 45.7 kB / 0.5001 GB, free: 55.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/0.424, allocations: 3.298 MB / 0.5033 GB, free: 52.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/0.4246, allocations: 0.6578 MB / 0.5039 GB, free: 52.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.4258, allocations: 1.204 MB / 0.5051 GB, free: 51.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.4259, allocations: 301.8 kB / 0.5054 GB, free: 50.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.4284, allocations: 1.683 MB / 0.507 GB, free: 49.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/0.4321, allocations: 5.603 MB / 0.5125 GB, free: 42.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006511/0.4386, allocations: 7.829 MB / 0.5202 GB, free: 32.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-05/0.4387, allocations: 42.19 kB / 0.5202 GB, free: 32.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01084/0.4495, allocations: 7.285 MB / 0.5273 GB, free: 25.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.672e-05/0.4496, allocations: 64 kB / 0.5274 GB, free: 25.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002072/0.4498, allocations: 144 kB / 0.5275 GB, free: 25.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.45, allocations: 180 kB / 0.5277 GB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/0.4542, allocations: 1.447 MB / 0.5291 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001393/0.4544, allocations: 267 kB / 0.5294 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/0.4588, allocations: 403.6 kB / 0.5297 GB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004754/0.4593, allocations: 380 kB / 0.5301 GB, free: 23.07 MB / 410.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.002429/0.4618, allocations: 2.033 MB / 0.5321 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/0.4624, allocations: 377.2 kB / 0.5324 GB, free: 20.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/0.4629, allocations: 378.6 kB / 0.5328 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.4629, allocations: 20 kB / 0.5328 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.4629, allocations: 4 kB / 0.5328 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.4629, allocations: 7.969 kB / 0.5328 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006749/0.4697, allocations: 4.739 MB / 0.5375 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.4697, allocations: 16.22 kB / 0.5375 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009927/0.4707, allocations: 295.5 kB / 0.5378 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.483e-05/0.4707, allocations: 24 kB / 0.5378 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.804e-05/0.4708, allocations: 51.12 kB / 0.5378 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.189e-05/0.4708, allocations: 35.86 kB / 0.5379 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-05/0.4709, allocations: 27.88 kB / 0.5379 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.4749, allocations: 3.304 MB / 0.5411 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/0.4757, allocations: 337.7 kB / 0.5414 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.4761, allocations: 51.98 kB / 0.5415 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.4773, allocations: 115.8 kB / 0.5416 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.4775, allocations: 155.3 kB / 0.5418 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/0.4776, allocations: 67.98 kB / 0.5418 GB, free: 10.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002901/0.4805, allocations: 2.285 MB / 0.544 GB, free: 8.297 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4805, allocations: 0 / 0.544 GB, free: 8.297 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004863/0.4853, allocations: 0.9725 MB / 0.545 GB, free: 7.324 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 (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.0004649/0.4858, allocations: 210.2 kB / 0.5452 GB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005571/0.4914, allocations: 3.71 MB / 0.5488 GB, free: 3.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/0.4914, allocations: 0 / 0.5488 GB, free: 3.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000893/0.4923, allocations: 0.7139 MB / 0.5495 GB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.4951, allocations: 432 kB / 0.5499 GB, free: 2.316 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.5109, allocations: 8.834 MB / 0.5586 GB, free: 9.176 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003998/0.5149, allocations: 2.633 MB / 0.5611 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004564/0.5195, allocations: 1.778 MB / 0.5629 GB, free: 4.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/0.5201, allocations: 232.5 kB / 0.5631 GB, free: 4.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.344e-06/0.5202, allocations: 4 kB / 0.5631 GB, free: 4.496 MB / 426.7 MB Notification: Performance of Templates: time 0.05617/0.5763, allocations: 21.89 MB / 0.5845 GB, free: 15.21 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.5898025430506095]