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.001303/0.001303, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001382/0.001382, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9719/0.9719, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1492/0.1492, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.162e-06/1.162e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.006121/0.006141, allocations: 9.942 MB / 387.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.01051, allocations: 3.166 MB / 390.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008794/0.01139, allocations: 59.75 kB / 390.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.01346, allocations: 2.507 MB / 392.9 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.01515, allocations: 1.305 MB / 394.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.01587, allocations: 0.5377 MB / 394.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.01758, allocations: 3.011 MB / 397.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.01894, allocations: 2.517 MB / 400.3 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.02018, allocations: 2.007 MB / 402.3 MB, free: 404 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.02145, allocations: 1.613 MB / 403.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.02171, allocations: 284 kB / 404.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.02277, allocations: 0.9439 MB / 405.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008956/0.02366, allocations: 1.663 MB / 406.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008119/0.02447, allocations: 1.09 MB / 407.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.02787, allocations: 3.954 MB / 411.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.269e-06/0.02788, allocations: 0 / 411.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02788, allocations: 0 / 411.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.184e-05/0.02796, allocations: 0 / 411.9 MB, free: 6.82 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.004402/0.03236, allocations: 4.525 MB / 416.4 MB, free: 2.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.0324, allocations: 11.98 kB / 416.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.03505, allocations: 1.325 MB / 417.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.03682, allocations: 1.514 MB / 419.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.03694, allocations: 230.1 kB / 419.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.03725, allocations: 292.2 kB / 419.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006774/0.04403, allocations: 5.444 MB / 425.2 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-05/0.04409, allocations: 47.61 kB / 425.2 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.04432, allocations: 143.9 kB / 425.4 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.04571, allocations: 1.736 MB / 427.1 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004897/0.05061, allocations: 2.577 MB / 429.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.07657, allocations: 39.87 MB / 469.6 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/0.08099, allocations: 2.143 MB / 471.7 MB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008027/0.08179, allocations: 492.8 kB / 472.2 MB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003837/0.08563, allocations: 3.887 MB / 476.1 MB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.08566, allocations: 50.39 kB / 476.1 MB, free: 4.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 2.905e-06/0.08566, allocations: 0 / 476.1 MB, free: 4.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.02132/0.107, allocations: 8.917 MB / 485 MB, free: 11.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.107, allocations: 149.5 kB / 485.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.1097, allocations: 3.027 MB / 488.2 MB, free: 7.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.224e-05/0.1098, allocations: 49.7 kB / 488.3 MB, free: 7.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.1115, allocations: 3.216 MB / 491.5 MB, free: 4.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.112, allocations: 0.7018 MB / 492.2 MB, free: 3.852 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.1133, allocations: 1.291 MB / 493.5 MB, free: 2.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1134, allocations: 0.5393 MB / 494 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/0.1141, allocations: 0.4956 MB / 494.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1401/0.2541, allocations: 5.995 MB / 0.4888 GB, free: 96.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/0.2588, allocations: 7.281 MB / 0.4959 GB, free: 89.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.115e-05/0.2589, allocations: 36.72 kB / 0.4959 GB, free: 89.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.007254/0.2661, allocations: 4.806 MB / 0.5006 GB, free: 88.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.2662, allocations: 60.41 kB / 0.5007 GB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.2663, allocations: 131.3 kB / 0.5008 GB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/0.2671, allocations: 320.7 kB / 0.5011 GB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/0.2699, allocations: 1.347 MB / 0.5024 GB, free: 88.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001719/0.2701, allocations: 258.5 kB / 0.5027 GB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.2728, allocations: 262.9 kB / 0.5029 GB, free: 88.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/0.2731, allocations: 321.5 kB / 0.5032 GB, free: 88.4 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.00126/0.2744, allocations: 0.6521 MB / 0.5039 GB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005346/0.2749, allocations: 329.5 kB / 0.5042 GB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.2769, allocations: 1.075 MB / 0.5052 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/0.2769, allocations: 24.53 kB / 0.5052 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.2769, allocations: 0 / 0.5052 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.277, allocations: 7.016 kB / 0.5052 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/0.2846, allocations: 4.306 MB / 0.5095 GB, free: 87.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.2846, allocations: 4.656 kB / 0.5095 GB, free: 87.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/0.2854, allocations: 253.9 kB / 0.5097 GB, free: 86.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006013/0.286, allocations: 148.2 kB / 0.5098 GB, free: 86.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.253e-05/0.2861, allocations: 39.53 kB / 0.5099 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.2861, allocations: 9.125 kB / 0.5099 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2861, allocations: 0 / 0.5099 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.2886, allocations: 2.126 MB / 0.512 GB, free: 85.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.2891, allocations: 242.4 kB / 0.5122 GB, free: 84.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.2893, allocations: 30.88 kB / 0.5122 GB, free: 84.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/0.29, allocations: 29.62 kB / 0.5123 GB, free: 84.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.2902, allocations: 102.7 kB / 0.5124 GB, free: 84.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-05/0.2902, allocations: 31.69 kB / 0.5124 GB, free: 84.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.2915, allocations: 1.159 MB / 0.5135 GB, free: 84 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2915, allocations: 0 / 0.5135 GB, free: 84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003689/0.2952, allocations: 0.8405 MB / 0.5143 GB, free: 83.28 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.0003336/0.2955, allocations: 167.8 kB / 0.5145 GB, free: 83.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004102/0.2996, allocations: 2.659 MB / 0.5171 GB, free: 81.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.2996, allocations: 0 / 0.5171 GB, free: 81.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.3007, allocations: 0.6271 MB / 0.5177 GB, free: 80.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.3019, allocations: 300.5 kB / 0.518 GB, free: 80.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008066/0.31, allocations: 6.935 MB / 0.5248 GB, free: 74.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008621/0.3109, allocations: 1.088 MB / 0.5258 GB, free: 73.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001173/0.312, allocations: 449.5 kB / 0.5263 GB, free: 73.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/0.3126, allocations: 0.5137 MB / 0.5268 GB, free: 72.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.3126, allocations: 3.938 kB / 0.5268 GB, free: 72.59 MB / 410.7 MB Notification: Performance of Templates: time 0.03464/0.3472, allocations: 23.97 MB / 0.5502 GB, free: 49.13 MB / 410.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.30571909295395]