Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001268/0.001268, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.00261, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007381/0.0007381, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009945/0.001733, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.015/1.015, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09519/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.2569/0.2569, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02781/0.2847, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.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.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.425e-05, allocations: 3.297 kB / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007719/0.007734, allocations: 10.08 MB / 302.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006143/0.01388, allocations: 3.322 MB / 306.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.01498, allocations: 63.69 kB / 306.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.01749, allocations: 2.409 MB / 308.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.01945, allocations: 1.305 MB / 310 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.02024, allocations: 0.5298 MB / 310.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.02254, allocations: 2.966 MB / 313.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.02454, allocations: 2.49 MB / 316 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.02639, allocations: 2.051 MB / 318.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.02807, allocations: 1.543 MB / 319.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.02853, allocations: 284 kB / 319.9 MB, free: 11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.03014, allocations: 0.9595 MB / 320.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.03161, allocations: 1.492 MB / 322.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.03296, allocations: 0.8995 MB / 323.2 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.03725, allocations: 3.697 MB / 326.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-05/0.03726, allocations: 0 / 326.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.03727, allocations: 0 / 326.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001643/0.03743, allocations: 0 / 326.9 MB, free: 3.926 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.007133/0.04456, allocations: 4.831 MB / 331.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.0446, allocations: 8.031 kB / 331.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.04722, allocations: 1.015 MB / 332.8 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.04917, allocations: 1.336 MB / 334.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.04929, allocations: 230.1 kB / 334.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/0.04964, allocations: 304.2 kB / 334.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007594/0.05724, allocations: 4.891 MB / 339.5 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.05734, allocations: 39.69 kB / 339.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.05761, allocations: 147.9 kB / 339.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001492/0.0591, allocations: 1.635 MB / 341.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006049/0.06515, allocations: 2.555 MB / 343.9 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/0.09534, allocations: 28.91 MB / 372.8 MB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004899/0.1002, allocations: 1.952 MB / 374.8 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.1009, allocations: 452.5 kB / 375.2 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005147/0.106, allocations: 3.434 MB / 378.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.1061, allocations: 51.55 kB / 378.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 5.34e-06/0.1061, allocations: 0 / 378.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.01935/0.1254, allocations: 7.666 MB / 386.4 MB, free: 6.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1255, allocations: 145.5 kB / 386.5 MB, free: 6.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.1276, allocations: 2.436 MB / 388.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.1277, allocations: 53.7 kB / 389 MB, free: 3.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.129, allocations: 2.938 MB / 391.9 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005978/0.1296, allocations: 0.6783 MB / 392.6 MB, free: 92 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.1308, allocations: 1.109 MB / 393.7 MB, free: 14.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1309, allocations: 361.8 kB / 394.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009782/0.1319, allocations: 0.6329 MB / 394.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/0.1348, allocations: 4.189 MB / 398.9 MB, free: 7.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005645/0.1404, allocations: 5.955 MB / 404.9 MB, free: 148 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/0.1406, allocations: 40 kB / 404.9 MB, free: 108 kB / 394.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.007628/0.1482, allocations: 4.037 MB / 408.9 MB, free: 12.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.373e-05/0.1483, allocations: 64 kB / 409 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/0.1485, allocations: 139.9 kB / 409.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/0.1493, allocations: 323.1 kB / 409.4 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.153, allocations: 1.505 MB / 411 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000174/0.1532, allocations: 259 kB / 411.2 MB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.1565, allocations: 259.7 kB / 411.5 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004846/0.157, allocations: 312 kB / 411.8 MB, free: 9.215 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001492/0.1585, allocations: 0.6068 MB / 412.4 MB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004942/0.159, allocations: 183.8 kB / 412.5 MB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.1606, allocations: 0.9392 MB / 413.5 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.1607, allocations: 16 kB / 413.5 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1607, allocations: 0 / 413.5 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.1607, allocations: 7.969 kB / 413.5 MB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006515/0.1672, allocations: 3.596 MB / 417.1 MB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.1672, allocations: 8 kB / 417.1 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/0.1682, allocations: 295.7 kB / 417.4 MB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/0.1687, allocations: 241.9 kB / 417.6 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007789/0.1695, allocations: 291.7 kB / 417.9 MB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.1696, allocations: 31.98 kB / 418 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.1696, allocations: 15.98 kB / 418 MB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1696, allocations: 4 kB / 418 MB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.172, allocations: 1.745 MB / 419.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003425/0.1723, allocations: 24 kB / 419.7 MB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.173, allocations: 39.97 kB / 419.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.1732, allocations: 108.7 kB / 419.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.1733, allocations: 32 kB / 419.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.1744, allocations: 0.9309 MB / 420.9 MB, free: 15.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1744, allocations: 0 / 420.9 MB, free: 15.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003808/0.1782, allocations: 0.8359 MB / 421.7 MB, free: 15.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004075/0.1786, allocations: 154 kB / 421.8 MB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004181/0.1828, allocations: 2.556 MB / 424.4 MB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00022/0.183, allocations: 100.8 kB / 424.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.1842, allocations: 0.6427 MB / 425.1 MB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.1867, allocations: 1.954 MB / 427.1 MB, free: 9.445 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.2008, allocations: 7.161 MB / 434.3 MB, free: 2.184 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.202, allocations: 1.09 MB / 435.3 MB, free: 1.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001299/0.2033, allocations: 448.8 kB / 435.8 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007668/0.2041, allocations: 473.2 kB / 436.2 MB, free: 172 kB / 426.7 MB Notification: Performance of SimCode: time 2.545e-06/0.2041, allocations: 0 / 436.2 MB, free: 172 kB / 426.7 MB Notification: Performance of Templates: time 0.196/0.4, allocations: 21.95 MB / 458.2 MB, free: 106.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.770097192376852]