Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001114/0.001114, allocations: 78.66 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.001481/0.001481, allocations: 170.3 kB / 24.82 MB, free: 9.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 1.019/1.019, 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.3137/0.3137, allocations: 32.81 MB / 294.6 MB, free: 1.266 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.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.0.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.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.072e-05, allocations: 6.25 kB / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01103/0.01106, allocations: 9.973 MB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.01558, allocations: 3.15 MB / 389.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.0162, allocations: 59.75 kB / 389.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.01853, allocations: 2.507 MB / 392.2 MB, free: 4.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.01997, allocations: 1.309 MB / 393.5 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.02057, allocations: 0.5455 MB / 394 MB, free: 2.777 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.02247, allocations: 2.989 MB / 397 MB, free: 15.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.02417, allocations: 2.52 MB / 399.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.02562, allocations: 2 MB / 401.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.02692, allocations: 1.613 MB / 403.2 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.02723, allocations: 287.9 kB / 403.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000975/0.0282, allocations: 0.9516 MB / 404.4 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009134/0.02912, allocations: 1.667 MB / 406.1 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000861/0.02998, allocations: 1.079 MB / 407.1 MB, free: 5.598 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.03285, allocations: 3.95 MB / 411.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.03285, allocations: 0 / 411.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.03285, allocations: 0 / 411.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.241e-05/0.0329, allocations: 3.938 kB / 411.1 MB, free: 1.629 MB / 378.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.004223/0.03713, allocations: 4.529 MB / 415.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.03716, allocations: 8.031 kB / 415.6 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.03964, allocations: 1.321 MB / 416.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.04107, allocations: 1.514 MB / 418.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.04118, allocations: 222.2 kB / 418.7 MB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.0415, allocations: 308.1 kB / 419 MB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006043/0.04754, allocations: 5.44 MB / 424.4 MB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.383e-05/0.0476, allocations: 35.69 kB / 424.4 MB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.04784, allocations: 147.8 kB / 424.6 MB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001399/0.04924, allocations: 1.732 MB / 426.3 MB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004677/0.05391, allocations: 2.577 MB / 428.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/0.2245, allocations: 39.88 MB / 468.8 MB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.2283, allocations: 2.129 MB / 470.9 MB, free: 64.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.2287, allocations: 0.49 MB / 471.4 MB, free: 64.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003011/0.2318, allocations: 3.894 MB / 475.3 MB, free: 62.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.2318, allocations: 50.33 kB / 475.3 MB, free: 62.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 2.745e-06/0.2318, allocations: 0 / 475.3 MB, free: 62.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.01827/0.2501, allocations: 8.91 MB / 484.3 MB, free: 61.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2501, allocations: 144.4 kB / 484.4 MB, free: 61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.2522, allocations: 3.035 MB / 487.4 MB, free: 60 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.2523, allocations: 48.02 kB / 487.5 MB, free: 59.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.2534, allocations: 3.21 MB / 490.7 MB, free: 57.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.2538, allocations: 0.6973 MB / 491.4 MB, free: 56.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.2548, allocations: 1.308 MB / 492.7 MB, free: 56.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.2549, allocations: 0.5291 MB / 493.2 MB, free: 55.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.2555, allocations: 0.501 MB / 493.7 MB, free: 55.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.2582, allocations: 5.997 MB / 499.7 MB, free: 48.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/0.2625, allocations: 7.293 MB / 0.4951 GB, free: 40.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.188e-05/0.2625, allocations: 37.12 kB / 0.4952 GB, free: 40.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.005094/0.2676, allocations: 4.801 MB / 0.4999 GB, free: 38.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.2677, allocations: 61.84 kB / 0.4999 GB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.2678, allocations: 130 kB / 0.5 GB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.2684, allocations: 319.7 kB / 0.5003 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.2703, allocations: 1.347 MB / 0.5017 GB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001091/0.2704, allocations: 253.7 kB / 0.5019 GB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.272, allocations: 270.8 kB / 0.5022 GB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.2723, allocations: 316 kB / 0.5025 GB, free: 38.11 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.0007485/0.273, allocations: 0.6538 MB / 0.5031 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.2732, allocations: 325.3 kB / 0.5034 GB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.2744, allocations: 1.084 MB / 0.5045 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.2744, allocations: 23.78 kB / 0.5045 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2744, allocations: 3.25 kB / 0.5045 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.2744, allocations: 6.844 kB / 0.5045 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/0.2789, allocations: 4.295 MB / 0.5087 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.2789, allocations: 3.312 kB / 0.5087 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/0.2795, allocations: 255.9 kB / 0.5089 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.2799, allocations: 156 kB / 0.5091 GB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.28, allocations: 34.3 kB / 0.5091 GB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.28, allocations: 7.75 kB / 0.5091 GB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.28, allocations: 3.75 kB / 0.5091 GB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.2816, allocations: 2.114 MB / 0.5112 GB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.2818, allocations: 240.5 kB / 0.5114 GB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.2819, allocations: 38.19 kB / 0.5115 GB, free: 33.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.2824, allocations: 30.52 kB / 0.5115 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.2825, allocations: 103.8 kB / 0.5116 GB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.2825, allocations: 35.38 kB / 0.5116 GB, free: 33.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008439/0.2834, allocations: 1.159 MB / 0.5128 GB, free: 33.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2834, allocations: 0 / 0.5128 GB, free: 33.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001943/0.2853, allocations: 0.841 MB / 0.5136 GB, free: 32.19 MB / 410.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.0002253/0.2855, allocations: 163.8 kB / 0.5137 GB, free: 32.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.2882, allocations: 2.669 MB / 0.5163 GB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2882, allocations: 4 kB / 0.5163 GB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.2889, allocations: 0.6241 MB / 0.517 GB, free: 29.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.2898, allocations: 302.3 kB / 0.5172 GB, free: 28.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007262/0.297, allocations: 6.923 MB / 0.524 GB, free: 22.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.2981, allocations: 1.09 MB / 0.5251 GB, free: 21.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009176/0.299, allocations: 458.3 kB / 0.5255 GB, free: 21.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/0.2995, allocations: 0.5055 MB / 0.526 GB, free: 20.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.143e-06/0.2995, allocations: 0 / 0.526 GB, free: 20.89 MB / 410.7 MB Notification: Performance of Templates: time 0.03134/0.3309, allocations: 23.4 MB / 0.5488 GB, free: 15.91 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.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.209119411185384]