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.000881/0.000881, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001026/0.001026, allocations: 171.5 kB / 24.82 MB, free: 9.27 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.992/0.992, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.29/0.29, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.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 2.615e-06/2.615e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.216e-05, allocations: 2.312 kB / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.009922/0.009954, allocations: 10.72 MB / 387.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0075/0.01745, allocations: 3.952 MB / 391.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.01913, allocations: 79.62 kB / 391.2 MB, free: 5.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003024/0.02215, allocations: 2.632 MB / 393.9 MB, free: 2.941 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.02625, allocations: 1.967 MB / 395.8 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.02801, allocations: 0.8615 MB / 396.7 MB, free: 104 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.0328, allocations: 5.2 MB / 401.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.03606, allocations: 3.373 MB / 405.3 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.03908, allocations: 2.502 MB / 407.8 MB, free: 4.965 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.04156, allocations: 2.459 MB / 410.2 MB, free: 2.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005573/0.04211, allocations: 336 kB / 410.6 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.0435, allocations: 0.9011 MB / 411.5 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.04488, allocations: 2.057 MB / 413.5 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.04622, allocations: 1.316 MB / 414.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004168/0.05039, allocations: 4.456 MB / 419.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.05039, allocations: 0 / 419.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0504, allocations: 0 / 419.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.963e-05/0.0505, allocations: 0 / 419.3 MB, free: 9.414 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.005905/0.0564, allocations: 5.013 MB / 424.3 MB, free: 4.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.05645, allocations: 8.031 kB / 424.3 MB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/0.06009, allocations: 1.57 MB / 425.9 MB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.06272, allocations: 1.91 MB / 427.8 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.06286, allocations: 246.7 kB / 428 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.06323, allocations: 328.2 kB / 428.3 MB, free: 228 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007238/0.07046, allocations: 5.916 MB / 434.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-05/0.07055, allocations: 43.58 kB / 434.3 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.0708, allocations: 163.9 kB / 434.5 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001374/0.07217, allocations: 1.709 MB / 436.2 MB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.07663, allocations: 2.524 MB / 438.7 MB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.229/0.3056, allocations: 45.11 MB / 483.8 MB, free: 55.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.3098, allocations: 2.012 MB / 485.8 MB, free: 55.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.3103, allocations: 417.7 kB / 486.2 MB, free: 55.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00459/0.3149, allocations: 3.811 MB / 490 MB, free: 53.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.3149, allocations: 52.98 kB / 490.1 MB, free: 53.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 3.757e-06/0.3149, allocations: 0 / 490.1 MB, free: 53.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01026/0.3252, allocations: 5.07 MB / 495.2 MB, free: 52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.3252, allocations: 196.6 kB / 495.4 MB, free: 51.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/0.3284, allocations: 3.527 MB / 498.9 MB, free: 50.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.3284, allocations: 51.45 kB / 498.9 MB, free: 50.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.3299, allocations: 3.523 MB / 0.4907 GB, free: 48.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.3303, allocations: 0.6714 MB / 0.4913 GB, free: 47.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.3313, allocations: 1.351 MB / 0.4926 GB, free: 46.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.3313, allocations: 484.7 kB / 0.4931 GB, free: 46.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.3321, allocations: 0.5247 MB / 0.4936 GB, free: 46.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/0.3353, allocations: 6.439 MB / 0.4999 GB, free: 38.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005337/0.3406, allocations: 7.568 MB / 0.5073 GB, free: 29.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/0.3407, allocations: 40.34 kB / 0.5073 GB, free: 29.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.007625/0.3484, allocations: 4.842 MB / 0.5121 GB, free: 27.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/0.3485, allocations: 64.19 kB / 0.5121 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/0.3487, allocations: 143.7 kB / 0.5123 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.3488, allocations: 184.3 kB / 0.5124 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.3516, allocations: 1.438 MB / 0.5138 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001891/0.3518, allocations: 273.8 kB / 0.5141 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.3546, allocations: 270.9 kB / 0.5144 GB, free: 27.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.3548, allocations: 338 kB / 0.5147 GB, free: 27.39 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.00119/0.356, allocations: 0.6834 MB / 0.5154 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.3564, allocations: 368.9 kB / 0.5157 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.3567, allocations: 315.8 kB / 0.516 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.3567, allocations: 24.17 kB / 0.516 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/0.3567, allocations: 0 / 0.516 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.3568, allocations: 7.078 kB / 0.516 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.3621, allocations: 4.868 MB / 0.5208 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.3621, allocations: 23 kB / 0.5208 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.3626, allocations: 267.2 kB / 0.5211 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.3626, allocations: 24.97 kB / 0.5211 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.3626, allocations: 43.19 kB / 0.5211 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/0.3627, allocations: 38.16 kB / 0.5212 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/0.3627, allocations: 25.28 kB / 0.5212 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3641, allocations: 2.371 MB / 0.5235 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.3644, allocations: 337 kB / 0.5238 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.3646, allocations: 45.8 kB / 0.5239 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.3651, allocations: 48.23 kB / 0.5239 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3652, allocations: 152 kB / 0.5241 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.3653, allocations: 58.75 kB / 0.5241 GB, free: 21.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.3664, allocations: 1.405 MB / 0.5255 GB, free: 20.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3664, allocations: 0 / 0.5255 GB, free: 20.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003264/0.3696, allocations: 0.9846 MB / 0.5265 GB, free: 20.64 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.0003473/0.37, allocations: 220 kB / 0.5267 GB, free: 20.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.3729, allocations: 2.49 MB / 0.5291 GB, free: 18.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.3729, allocations: 4.609 kB / 0.5291 GB, free: 18.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.3733, allocations: 431 kB / 0.5295 GB, free: 17.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.3749, allocations: 431.1 kB / 0.5299 GB, free: 17.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009358/0.3843, allocations: 7.664 MB / 0.5374 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.3857, allocations: 1.196 MB / 0.5386 GB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001466/0.3872, allocations: 0.5021 MB / 0.5391 GB, free: 8.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/0.3879, allocations: 0.6005 MB / 0.5397 GB, free: 8.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.445e-06/0.3879, allocations: 0 / 0.5397 GB, free: 8.23 MB / 410.7 MB Notification: Performance of Templates: time 0.04329/0.4312, allocations: 24.74 MB / 0.5638 GB, free: 2.223 MB / 426.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.3026449251919985]