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.001029/0.001029, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009858/0.0009858, allocations: 172.7 kB / 24.91 MB, free: 8.266 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.9686/0.9686, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2319/0.2319, allocations: 32.81 MB / 294.6 MB, free: 1.234 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 1.513e-06/1.513e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.728e-05, allocations: 5.438 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008397/0.008424, allocations: 10.71 MB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006965/0.01539, allocations: 4.115 MB / 338.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.01696, allocations: 79.62 kB / 338.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.02031, allocations: 2.663 MB / 340.8 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004167/0.02448, allocations: 1.971 MB / 342.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.02586, allocations: 0.8655 MB / 343.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005591/0.03145, allocations: 5.205 MB / 348.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006212/0.03766, allocations: 3.444 MB / 352.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006533/0.04419, allocations: 2.495 MB / 354.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/0.04718, allocations: 2.354 MB / 357.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008329/0.04802, allocations: 332 kB / 357.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.04946, allocations: 0.9011 MB / 358.4 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.05111, allocations: 2.057 MB / 360.4 MB, free: 4.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.05293, allocations: 1.312 MB / 361.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.05707, allocations: 4.464 MB / 366.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.05708, allocations: 0 / 366.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.05708, allocations: 0 / 366.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001137/0.05719, allocations: 0 / 366.2 MB, free: 14.52 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.004284/0.06148, allocations: 4.465 MB / 370.7 MB, free: 10 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.06151, allocations: 12.03 kB / 370.7 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.06421, allocations: 1.14 MB / 371.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.06666, allocations: 1.781 MB / 373.6 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.06678, allocations: 246.7 kB / 373.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.06713, allocations: 336.2 kB / 374.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006004/0.07313, allocations: 5.248 MB / 379.4 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.147e-05/0.07321, allocations: 47.58 kB / 379.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.07346, allocations: 163.8 kB / 379.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001393/0.07486, allocations: 1.705 MB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004527/0.07938, allocations: 2.539 MB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.1052, allocations: 32.14 MB / 416 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004512/0.1097, allocations: 1.888 MB / 417.9 MB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.1103, allocations: 328 kB / 418.2 MB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00552/0.1158, allocations: 3.485 MB / 421.7 MB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.1158, allocations: 51.56 kB / 421.7 MB, free: 4.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=145): time 5.41e-06/0.1158, allocations: 0 / 421.7 MB, free: 4.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.01237/0.1282, allocations: 4.472 MB / 426.2 MB, free: 164 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1283, allocations: 196.9 kB / 426.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.1315, allocations: 3.177 MB / 429.6 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.1316, allocations: 49.7 kB / 429.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/0.1335, allocations: 3.164 MB / 432.8 MB, free: 9.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/0.134, allocations: 0.6435 MB / 433.4 MB, free: 8.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.1352, allocations: 1.176 MB / 434.6 MB, free: 7.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.1353, allocations: 309 kB / 434.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.1366, allocations: 0.6963 MB / 435.6 MB, free: 6.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003267/0.1399, allocations: 4.576 MB / 440.2 MB, free: 88 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005244/0.1451, allocations: 5.783 MB / 446 MB, free: 8.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.879e-05/0.1452, allocations: 40 kB / 446 MB, free: 8.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.007008/0.1522, allocations: 4.112 MB / 450.1 MB, free: 4.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.138e-05/0.1523, allocations: 68 kB / 450.2 MB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.1524, allocations: 140 kB / 450.3 MB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.1526, allocations: 184 kB / 450.5 MB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/0.156, allocations: 1.427 MB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001789/0.1562, allocations: 275 kB / 452.2 MB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/0.1596, allocations: 275.7 kB / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005777/0.1602, allocations: 339.9 kB / 452.8 MB, free: 1.469 MB / 426.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.001397/0.1616, allocations: 0.6339 MB / 453.4 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004617/0.1621, allocations: 215.8 kB / 453.6 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.1624, allocations: 323 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.1624, allocations: 16 kB / 454 MB, free: 280 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1624, allocations: 0 / 454 MB, free: 280 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.1624, allocations: 7.984 kB / 454 MB, free: 272 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1399/0.3023, allocations: 4.044 MB / 458 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.3023, allocations: 17.59 kB / 458 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.3029, allocations: 267.9 kB / 458.3 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.3029, allocations: 27.16 kB / 458.3 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.3029, allocations: 49.53 kB / 458.4 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.3029, allocations: 31.67 kB / 458.4 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.303, allocations: 31.11 kB / 458.4 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.3044, allocations: 1.903 MB / 460.3 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005022/0.3049, allocations: 330.2 kB / 460.7 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.3051, allocations: 53.48 kB / 460.7 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.3057, allocations: 47.41 kB / 460.8 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3058, allocations: 145.3 kB / 460.9 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.3059, allocations: 56.03 kB / 461 MB, free: 122.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00135/0.3073, allocations: 1.312 MB / 462.3 MB, free: 122.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3073, allocations: 3.281 kB / 462.3 MB, free: 122.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0036/0.3109, allocations: 0.9861 MB / 463.3 MB, free: 122.2 MB / 426.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.0004377/0.3113, allocations: 189.8 kB / 463.5 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002902/0.3142, allocations: 2.341 MB / 465.8 MB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001996/0.3144, allocations: 103.1 kB / 465.9 MB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.3148, allocations: 382.6 kB / 466.3 MB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.3167, allocations: 425 kB / 466.7 MB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008916/0.3257, allocations: 7.592 MB / 474.3 MB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.3268, allocations: 1.19 MB / 475.5 MB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001238/0.3281, allocations: 0.4979 MB / 476 MB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/0.3287, allocations: 0.5597 MB / 476.5 MB, free: 114.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3287, allocations: 0 / 476.5 MB, free: 114.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04384/0.3725, allocations: 24.68 MB / 0.4895 GB, free: 90.99 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.107150490861386]