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.0009582/0.0009582, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001326/0.001326, allocations: 168.4 kB / 25.61 MB, free: 8.906 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.965/0.965, allocations: 177.2 MB / 206.1 MB, free: 4.465 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.1432/0.1432, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.713e-06/1.713e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.159e-05, allocations: 4.828 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01075/0.01078, allocations: 10.72 MB / 388 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006289/0.01707, allocations: 3.946 MB / 391.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.01866, allocations: 79.62 kB / 392 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.0211, allocations: 2.628 MB / 394.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.0245, allocations: 1.967 MB / 396.6 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.02566, allocations: 0.8655 MB / 397.5 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004102/0.02976, allocations: 5.2 MB / 402.7 MB, free: 92 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003653/0.03341, allocations: 3.373 MB / 406.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.03713, allocations: 2.499 MB / 408.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.04083, allocations: 2.459 MB / 411 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.04192, allocations: 332 kB / 411.3 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.04429, allocations: 0.9127 MB / 412.2 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.04648, allocations: 2.057 MB / 414.3 MB, free: 4.391 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.04869, allocations: 1.312 MB / 415.6 MB, free: 3.074 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005053/0.05374, allocations: 4.448 MB / 420.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.05375, allocations: 0 / 420.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.05375, allocations: 0 / 420.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002302/0.05398, allocations: 4 kB / 420.1 MB, free: 14.61 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.006532/0.06051, allocations: 5.017 MB / 425.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.55e-05/0.06053, allocations: 11.98 kB / 425.1 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.0642, allocations: 1.574 MB / 426.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.06692, allocations: 1.902 MB / 428.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.06708, allocations: 250.7 kB / 428.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/0.06759, allocations: 328.2 kB / 429.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008479/0.07607, allocations: 5.912 MB / 435.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.07619, allocations: 47.56 kB / 435.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003626/0.07655, allocations: 163.9 kB / 435.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001589/0.07814, allocations: 1.709 MB / 437 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00671/0.08485, allocations: 2.519 MB / 439.5 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03501/0.1199, allocations: 45.12 MB / 484.6 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/0.1243, allocations: 2.01 MB / 486.6 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.1249, allocations: 402.9 kB / 487 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005399/0.1303, allocations: 3.82 MB / 490.8 MB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.1303, allocations: 46.39 kB / 490.9 MB, free: 4.887 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 3.767e-06/0.1303, allocations: 0 / 490.9 MB, free: 4.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.1728/0.3032, allocations: 5.062 MB / 495.9 MB, free: 116.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.3033, allocations: 200 kB / 496.1 MB, free: 116.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.3067, allocations: 3.533 MB / 499.7 MB, free: 115.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.3069, allocations: 49.25 kB / 499.7 MB, free: 115.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001791/0.3087, allocations: 3.517 MB / 0.4914 GB, free: 113.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000652/0.3093, allocations: 0.6779 MB / 0.4921 GB, free: 113.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.3104, allocations: 1.352 MB / 0.4934 GB, free: 113.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.3105, allocations: 483.1 kB / 0.4939 GB, free: 112.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009176/0.3114, allocations: 0.5218 MB / 0.4944 GB, free: 112.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/0.3144, allocations: 6.436 MB / 0.5007 GB, free: 105.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004413/0.3188, allocations: 7.576 MB / 0.5081 GB, free: 97.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/0.319, allocations: 41.59 kB / 0.5081 GB, free: 97.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.005686/0.3246, allocations: 4.844 MB / 0.5128 GB, free: 94.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.3247, allocations: 64 kB / 0.5129 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/0.3248, allocations: 140 kB / 0.513 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/0.3249, allocations: 184 kB / 0.5132 GB, free: 94.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.327, allocations: 1.431 MB / 0.5146 GB, free: 92.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.875e-05/0.3271, allocations: 280.8 kB / 0.5149 GB, free: 92.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.3296, allocations: 271.7 kB / 0.5151 GB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.3299, allocations: 335.6 kB / 0.5155 GB, free: 92.13 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.000965/0.3308, allocations: 0.6686 MB / 0.5161 GB, free: 91.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.3311, allocations: 377.7 kB / 0.5165 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.3314, allocations: 323.2 kB / 0.5168 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.3314, allocations: 25.61 kB / 0.5168 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/0.3314, allocations: 6.25 kB / 0.5168 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3314, allocations: 3.703 kB / 0.5168 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/0.336, allocations: 4.855 MB / 0.5216 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.336, allocations: 26.27 kB / 0.5216 GB, free: 86.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.3365, allocations: 266.1 kB / 0.5218 GB, free: 85.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-05/0.3365, allocations: 24 kB / 0.5219 GB, free: 85.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.3366, allocations: 54.58 kB / 0.5219 GB, free: 85.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.441e-05/0.3366, allocations: 31.83 kB / 0.5219 GB, free: 85.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.3366, allocations: 28.94 kB / 0.522 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.3381, allocations: 2.369 MB / 0.5243 GB, free: 83.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.3384, allocations: 329.6 kB / 0.5246 GB, free: 82.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.3386, allocations: 59.97 kB / 0.5247 GB, free: 82.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.3392, allocations: 47.98 kB / 0.5247 GB, free: 82.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.3393, allocations: 151.3 kB / 0.5248 GB, free: 82.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.3394, allocations: 52 kB / 0.5249 GB, free: 82.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009266/0.3403, allocations: 1.41 MB / 0.5263 GB, free: 81.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3403, allocations: 0 / 0.5263 GB, free: 81.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002913/0.3432, allocations: 0.9869 MB / 0.5272 GB, free: 80.07 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.0002697/0.3435, allocations: 206.6 kB / 0.5274 GB, free: 79.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002327/0.3458, allocations: 2.501 MB / 0.5299 GB, free: 77.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.3458, allocations: 4 kB / 0.5299 GB, free: 77.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.3461, allocations: 428.3 kB / 0.5303 GB, free: 76.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.3475, allocations: 433 kB / 0.5307 GB, free: 76.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/0.3549, allocations: 7.664 MB / 0.5382 GB, free: 68.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.3559, allocations: 1.196 MB / 0.5393 GB, free: 67.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001301/0.3573, allocations: 0.5018 MB / 0.5398 GB, free: 66.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/0.3579, allocations: 0.6035 MB / 0.5404 GB, free: 66.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3579, allocations: 0 / 0.5404 GB, free: 66.2 MB / 410.7 MB Notification: Performance of Templates: time 0.04264/0.4005, allocations: 25.28 MB / 0.5651 GB, free: 41.46 MB / 410.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 -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: 4.37403932120651]