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.001593/0.001593, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001128/0.001128, allocations: 173 kB / 24.25 MB, free: 308 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.9275/0.9275, allocations: 158.6 MB / 186 MB, free: 2.891 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.1421/0.1421, allocations: 32.37 MB / 270.7 MB, free: 14.76 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 1.954e-06/1.954e-06, allocations: 0 / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.001e-05, allocations: 4.281 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.007625/0.007655, allocations: 11.01 MB / 358.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007098/0.01475, allocations: 3.973 MB / 362.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.01641, allocations: 79.56 kB / 362.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.0198, allocations: 2.678 MB / 365.4 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.02455, allocations: 2.006 MB / 367.4 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.02602, allocations: 0.8616 MB / 368.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005713/0.03173, allocations: 5.092 MB / 373.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00426/0.03599, allocations: 3.396 MB / 376.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.03973, allocations: 2.463 MB / 379.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.04282, allocations: 2.56 MB / 381.8 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008089/0.04363, allocations: 343.9 kB / 382.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.04516, allocations: 0.9362 MB / 383.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.04681, allocations: 2.1 MB / 385.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.04866, allocations: 1.344 MB / 386.5 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004341/0.053, allocations: 4.577 MB / 391.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.05301, allocations: 0 / 391.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.05301, allocations: 4 kB / 391.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.05317, allocations: 0 / 391.1 MB, free: 14.15 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.006104/0.05927, allocations: 5.318 MB / 396.4 MB, free: 8.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.05932, allocations: 12.03 kB / 396.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.06425, allocations: 2.518 MB / 398.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.06737, allocations: 2.151 MB / 401.1 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.06752, allocations: 242.7 kB / 401.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.06792, allocations: 332.2 kB / 401.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009819/0.07774, allocations: 6.549 MB / 408.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.07784, allocations: 43.58 kB / 408.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000342/0.07818, allocations: 163.8 kB / 408.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001875/0.08005, allocations: 1.904 MB / 410.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007706/0.08776, allocations: 3.268 MB / 413.6 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2025/0.2903, allocations: 45.41 MB / 459 MB, free: 68.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/0.2952, allocations: 2.122 MB / 461.1 MB, free: 68.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007959/0.296, allocations: 474.7 kB / 461.6 MB, free: 68.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005542/0.3016, allocations: 3.963 MB / 465.5 MB, free: 66.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.3016, allocations: 49.2 kB / 465.6 MB, free: 66.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 5.54e-06/0.3016, allocations: 0 / 465.6 MB, free: 66.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01493/0.3166, allocations: 8.067 MB / 473.7 MB, free: 63.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.3167, allocations: 197.8 kB / 473.8 MB, free: 63.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00466/0.3213, allocations: 3.551 MB / 477.4 MB, free: 62.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.3215, allocations: 50.72 kB / 477.4 MB, free: 62.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.3233, allocations: 3.482 MB / 480.9 MB, free: 59.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006838/0.324, allocations: 0.672 MB / 481.6 MB, free: 58.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.3251, allocations: 1.309 MB / 482.9 MB, free: 57.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.3252, allocations: 484.7 kB / 483.4 MB, free: 56.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.3262, allocations: 0.5819 MB / 484 MB, free: 56.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.3288, allocations: 6.353 MB / 490.3 MB, free: 47.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004964/0.3337, allocations: 7.587 MB / 497.9 MB, free: 37.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/0.3339, allocations: 40 kB / 497.9 MB, free: 37.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.007429/0.3413, allocations: 5.104 MB / 0.4913 GB, free: 32.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.3414, allocations: 64 kB / 0.4913 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.3415, allocations: 136.8 kB / 0.4915 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.3416, allocations: 180 kB / 0.4916 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.3441, allocations: 1.443 MB / 0.493 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001215/0.3442, allocations: 267 kB / 0.4933 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.3473, allocations: 379.5 kB / 0.4936 GB, free: 29.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004405/0.3477, allocations: 379.9 kB / 0.494 GB, free: 29.28 MB / 378.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.00134/0.3491, allocations: 0.6768 MB / 0.4947 GB, free: 28.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005019/0.3496, allocations: 373.7 kB / 0.495 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.3505, allocations: 0.8216 MB / 0.4958 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.3505, allocations: 16 kB / 0.4958 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.3505, allocations: 7.984 kB / 0.4959 GB, free: 27.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3505, allocations: 3.984 kB / 0.4959 GB, free: 27.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/0.3573, allocations: 4.936 MB / 0.5007 GB, free: 22.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.3574, allocations: 16 kB / 0.5007 GB, free: 22.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.3581, allocations: 291.1 kB / 0.501 GB, free: 21.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.3581, allocations: 24 kB / 0.501 GB, free: 21.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.3582, allocations: 44 kB / 0.501 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.908e-05/0.3582, allocations: 35.86 kB / 0.5011 GB, free: 21.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.3582, allocations: 31.86 kB / 0.5011 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.3604, allocations: 2.491 MB / 0.5035 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008733/0.3613, allocations: 457.5 kB / 0.504 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/0.3617, allocations: 55.81 kB / 0.504 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.3628, allocations: 107.9 kB / 0.5041 GB, free: 18.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.3629, allocations: 151.3 kB / 0.5043 GB, free: 18.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/0.363, allocations: 67.98 kB / 0.5043 GB, free: 18.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002152/0.3651, allocations: 1.528 MB / 0.5058 GB, free: 16.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3651, allocations: 0 / 0.5058 GB, free: 16.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004928/0.3701, allocations: 1.004 MB / 0.5068 GB, free: 15.5 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 (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.0004683/0.3705, allocations: 218.2 kB / 0.507 GB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.375, allocations: 2.625 MB / 0.5096 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.375, allocations: 0 / 0.5096 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.3756, allocations: 458.7 kB / 0.51 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.3781, allocations: 451 kB / 0.5104 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.3891, allocations: 7.705 MB / 0.518 GB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.3903, allocations: 1.199 MB / 0.5191 GB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002863/0.3932, allocations: 1.576 MB / 0.5207 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.3936, allocations: 236.5 kB / 0.5209 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of SimCode: time 2.054e-06/0.3936, allocations: 0 / 0.5209 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of Templates: time 0.04258/0.4362, allocations: 22.36 MB / 0.5427 GB, free: 10.52 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.165840008994564]