Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00105/0.00105, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001005/0.001005, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9052/0.9052, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1334/0.1334, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.424e-05, allocations: 8.219 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.00733/0.007364, allocations: 10.78 MB / 358.9 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007406/0.01477, allocations: 3.949 MB / 362.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.0167, allocations: 79.56 kB / 362.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.02052, allocations: 2.639 MB / 365.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005847/0.02637, allocations: 2.01 MB / 367.6 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.02839, allocations: 0.8655 MB / 368.5 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006337/0.03473, allocations: 5.092 MB / 373.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004606/0.03933, allocations: 3.388 MB / 376.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/0.04331, allocations: 2.534 MB / 379.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/0.04772, allocations: 2.475 MB / 381.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.0493, allocations: 332 kB / 382.3 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.05221, allocations: 0.9322 MB / 383.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.05456, allocations: 2.088 MB / 385.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.0571, allocations: 1.332 MB / 386.6 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006346/0.06344, allocations: 4.53 MB / 391.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.06345, allocations: 0 / 391.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.06345, allocations: 0 / 391.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001876/0.06364, allocations: 0 / 391.2 MB, free: 13.96 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.006543/0.07018, allocations: 5.06 MB / 396.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.07022, allocations: 8.031 kB / 396.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.07435, allocations: 1.574 MB / 397.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.07722, allocations: 1.941 MB / 399.7 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.0774, allocations: 250.7 kB / 400 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.07792, allocations: 328.2 kB / 400.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009186/0.0871, allocations: 5.892 MB / 406.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.08721, allocations: 51.58 kB / 406.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005289/0.08774, allocations: 163.8 kB / 406.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/0.08938, allocations: 1.705 MB / 408.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006892/0.09627, allocations: 2.516 MB / 410.6 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2158/0.3121, allocations: 45.14 MB / 455.8 MB, free: 63.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/0.3166, allocations: 2 MB / 457.8 MB, free: 63.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.3172, allocations: 405.1 kB / 458.2 MB, free: 63.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004977/0.3222, allocations: 3.809 MB / 462 MB, free: 61.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3222, allocations: 61.7 kB / 462 MB, free: 61.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=145): time 5.01e-06/0.3222, allocations: 3.938 kB / 462 MB, free: 61.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.0121/0.3343, allocations: 5.075 MB / 467.1 MB, free: 60.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.3344, allocations: 197.9 kB / 467.3 MB, free: 60.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/0.3388, allocations: 3.573 MB / 470.9 MB, free: 60.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.339, allocations: 46.64 kB / 470.9 MB, free: 60.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.3407, allocations: 3.525 MB / 474.4 MB, free: 58.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006161/0.3413, allocations: 0.6774 MB / 475.1 MB, free: 57.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.3425, allocations: 1.35 MB / 476.5 MB, free: 57.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.3426, allocations: 483.7 kB / 476.9 MB, free: 57.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.3436, allocations: 0.52 MB / 477.5 MB, free: 57.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/0.3462, allocations: 6.439 MB / 483.9 MB, free: 48.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/0.3513, allocations: 7.575 MB / 491.5 MB, free: 39.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.3515, allocations: 40 kB / 491.5 MB, free: 39.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.00697/0.3584, allocations: 4.845 MB / 496.4 MB, free: 34.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/0.3585, allocations: 64.98 kB / 496.4 MB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/0.3586, allocations: 140 kB / 496.6 MB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.3588, allocations: 184.8 kB / 496.7 MB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/0.3614, allocations: 1.427 MB / 498.2 MB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001139/0.3615, allocations: 274.9 kB / 498.4 MB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/0.3649, allocations: 279.7 kB / 498.7 MB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004803/0.3654, allocations: 332 kB / 499 MB, free: 31.72 MB / 378.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.001594/0.367, allocations: 0.6806 MB / 499.7 MB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008317/0.3678, allocations: 369.8 kB / 0.4884 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/0.3687, allocations: 0.7538 MB / 0.4891 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.3687, allocations: 16 kB / 0.4891 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.3687, allocations: 11.8 kB / 0.4891 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.3687, allocations: 3.984 kB / 0.4891 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/0.3748, allocations: 4.888 MB / 0.4939 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.3748, allocations: 16 kB / 0.4939 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.3753, allocations: 267.6 kB / 0.4942 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.3754, allocations: 24 kB / 0.4942 GB, free: 24.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.3754, allocations: 44 kB / 0.4942 GB, free: 24.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.3754, allocations: 35.86 kB / 0.4943 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.3754, allocations: 27.88 kB / 0.4943 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.3772, allocations: 2.386 MB / 0.4966 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007943/0.378, allocations: 405.6 kB / 0.497 GB, free: 21.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.3783, allocations: 51.98 kB / 0.4971 GB, free: 21.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.379, allocations: 43.98 kB / 0.4971 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.379, allocations: 155.3 kB / 0.4973 GB, free: 20.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/0.3791, allocations: 52 kB / 0.4973 GB, free: 20.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001297/0.3804, allocations: 1.438 MB / 0.4987 GB, free: 19.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3804, allocations: 0 / 0.4987 GB, free: 19.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003871/0.3843, allocations: 1.008 MB / 0.4997 GB, free: 18.37 MB / 378.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.0003968/0.3847, allocations: 224.9 kB / 0.4999 GB, free: 18.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.3878, allocations: 2.493 MB / 0.5023 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.3878, allocations: 4 kB / 0.5023 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.3882, allocations: 434.1 kB / 0.5028 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.3904, allocations: 439.7 kB / 0.5032 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009437/0.3999, allocations: 7.698 MB / 0.5107 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.4009, allocations: 1.196 MB / 0.5119 GB, free: 5.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001383/0.4023, allocations: 0.5084 MB / 0.5124 GB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/0.403, allocations: 0.5957 MB / 0.5129 GB, free: 4.422 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.403, allocations: 0 / 0.5129 GB, free: 4.422 MB / 378.7 MB Notification: Performance of Templates: time 0.04653/0.4495, allocations: 25.36 MB / 0.5377 GB, free: 11.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.206961249001324]