Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001459/0.001459, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001721/0.001721, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9693/0.9693, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2957/0.2957, allocations: 34.27 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.923e-05, allocations: 6.25 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.009647/0.009676, allocations: 10.98 MB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00679/0.01647, allocations: 3.987 MB / 393 MB, free: 3.594 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.01737, allocations: 79.56 kB / 393.1 MB, free: 3.516 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.02012, allocations: 2.663 MB / 395.8 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.02294, allocations: 1.975 MB / 397.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.02404, allocations: 0.8577 MB / 398.6 MB, free: 14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004932/0.02897, allocations: 5.204 MB / 403.8 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004/0.03297, allocations: 3.373 MB / 407.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.0361, allocations: 2.502 MB / 409.7 MB, free: 2.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.03894, allocations: 2.467 MB / 412.1 MB, free: 392 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007151/0.03965, allocations: 332 kB / 412.5 MB, free: 60 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.041, allocations: 0.905 MB / 413.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.04272, allocations: 2.061 MB / 415.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.04458, allocations: 1.308 MB / 416.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005566/0.05015, allocations: 4.464 MB / 421.2 MB, free: 7.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.05016, allocations: 0 / 421.2 MB, free: 7.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.05016, allocations: 0 / 421.2 MB, free: 7.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002414/0.0504, allocations: 0 / 421.2 MB, free: 7.293 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.006069/0.05647, allocations: 5.213 MB / 426.4 MB, free: 2.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.05651, allocations: 8.031 kB / 426.4 MB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.06089, allocations: 2.518 MB / 428.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.06338, allocations: 2.086 MB / 431 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.06364, allocations: 246.6 kB / 431.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.06398, allocations: 336.2 kB / 431.6 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008755/0.07274, allocations: 6.572 MB / 438.2 MB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.955e-05/0.07283, allocations: 47.58 kB / 438.2 MB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/0.07309, allocations: 159.9 kB / 438.4 MB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/0.07474, allocations: 1.9 MB / 440.3 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1883/0.263, allocations: 3.283 MB / 443.6 MB, free: 76.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.2902, allocations: 45.5 MB / 489.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003857/0.294, allocations: 2.11 MB / 491.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.2945, allocations: 467.4 kB / 491.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003594/0.2981, allocations: 3.93 MB / 495.6 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2981, allocations: 51.8 kB / 495.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 2.594e-06/0.2981, allocations: 0 / 495.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01156/0.3097, allocations: 8.007 MB / 0.4918 GB, free: 35.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.3098, allocations: 193.8 kB / 0.492 GB, free: 35.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/0.3131, allocations: 3.551 MB / 0.4955 GB, free: 33.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.3131, allocations: 47.55 kB / 0.4955 GB, free: 33.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.3145, allocations: 3.492 MB / 0.4989 GB, free: 31.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.3149, allocations: 0.6727 MB / 0.4996 GB, free: 30.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.316, allocations: 1.324 MB / 0.5009 GB, free: 29.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.24e-05/0.316, allocations: 479.6 kB / 0.5013 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.3171, allocations: 0.5837 MB / 0.5019 GB, free: 29.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.3197, allocations: 6.464 MB / 0.5082 GB, free: 21.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004724/0.3244, allocations: 7.712 MB / 0.5157 GB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.975e-05/0.3245, allocations: 40.19 kB / 0.5158 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.006043/0.3305, allocations: 5.18 MB / 0.5208 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.3306, allocations: 66.72 kB / 0.5209 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.3307, allocations: 143.5 kB / 0.521 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.3308, allocations: 188.7 kB / 0.5212 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.3331, allocations: 1.447 MB / 0.5226 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001566/0.3333, allocations: 275.4 kB / 0.5229 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.3357, allocations: 376.9 kB / 0.5232 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/0.336, allocations: 382.4 kB / 0.5236 GB, free: 10.79 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.001038/0.337, allocations: 0.6798 MB / 0.5243 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.3373, allocations: 375.2 kB / 0.5246 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.3376, allocations: 317 kB / 0.5249 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.3376, allocations: 19.17 kB / 0.525 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.3376, allocations: 3.469 kB / 0.525 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.3376, allocations: 3.562 kB / 0.525 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005229/0.3429, allocations: 4.908 MB / 0.5298 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.3429, allocations: 16.34 kB / 0.5298 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.3434, allocations: 279.4 kB / 0.53 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/0.3434, allocations: 23.59 kB / 0.5301 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.3435, allocations: 54.84 kB / 0.5301 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.177e-05/0.3435, allocations: 31.58 kB / 0.5301 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.3435, allocations: 31.75 kB / 0.5302 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.3451, allocations: 2.464 MB / 0.5326 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.3454, allocations: 344.8 kB / 0.5329 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.3457, allocations: 51.41 kB / 0.533 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/0.3463, allocations: 105 kB / 0.5331 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.3465, allocations: 144 kB / 0.5332 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/0.3465, allocations: 66.2 kB / 0.5333 GB, free: 4.297 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001834/0.3484, allocations: 1.517 MB / 0.5347 GB, free: 3.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3484, allocations: 4 kB / 0.5347 GB, free: 3.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003141/0.3515, allocations: 0.978 MB / 0.5357 GB, free: 2.082 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.0003009/0.3518, allocations: 208.7 kB / 0.5359 GB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.3553, allocations: 2.678 MB / 0.5385 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.3553, allocations: 4 kB / 0.5385 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.3558, allocations: 456.3 kB / 0.539 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.3571, allocations: 439.5 kB / 0.5394 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008301/0.3654, allocations: 7.685 MB / 0.5469 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009966/0.3664, allocations: 1.19 MB / 0.548 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002154/0.3686, allocations: 1.569 MB / 0.5496 GB, free: 5.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.369, allocations: 239.1 kB / 0.5498 GB, free: 5.391 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.369, allocations: 0 / 0.5498 GB, free: 5.391 MB / 426.7 MB Notification: Performance of Templates: time 0.03542/0.4044, allocations: 22.88 MB / 0.5721 GB, free: 0.8828 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.103742148261517]