Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 110.5 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 196 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2252/0.2252, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 71.19 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1331, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01679/0.15, allocations: 17.67 MB / 459.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.163, allocations: 5.267 MB / 464.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/0.1668, allocations: 103.8 kB / 465 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.177, allocations: 5.245 MB / 470.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008921/0.186, allocations: 2.742 MB / 473 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.1892, allocations: 1.193 MB / 474.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01204/0.2013, allocations: 7.082 MB / 481.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.2122, allocations: 6.571 MB / 487.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007001/0.2192, allocations: 2.796 MB / 490.6 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00745/0.2267, allocations: 4.019 MB / 494.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00313/0.2298, allocations: 0.6328 MB / 495.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00481/0.2347, allocations: 1.327 MB / 496.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005451/0.2402, allocations: 3.511 MB / 0.4884 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007433/0.2476, allocations: 4.032 MB / 0.4924 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.2611, allocations: 12.25 MB / 0.5043 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2611, allocations: 0 / 0.5043 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2611, allocations: 4 kB / 0.5043 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004246/0.2616, allocations: 0 / 0.5043 GB, free: 11.4 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02267/0.2842, allocations: 8.281 MB / 0.5124 GB, free: 3.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2843, allocations: 12.03 kB / 0.5124 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.2954, allocations: 2.724 MB / 0.5151 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009982/0.3054, allocations: 4.025 MB / 0.519 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004125/0.3059, allocations: 464 kB / 0.5195 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/0.3083, allocations: 0.5933 MB / 0.52 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4803/0.7886, allocations: 21.25 MB / 0.5408 GB, free: 76.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/0.7889, allocations: 71.88 kB / 0.5409 GB, free: 76.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/0.79, allocations: 285.3 kB / 0.5411 GB, free: 76.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005841/0.7958, allocations: 3.543 MB / 0.5446 GB, free: 75.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04043/0.8363, allocations: 17.27 MB / 0.5614 GB, free: 66.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07845/0.9148, allocations: 67.57 MB / 0.6274 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/0.9325, allocations: 6.754 MB / 0.634 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/0.9366, allocations: 2.315 MB / 0.6363 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01747/0.9541, allocations: 9.805 MB / 0.6459 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01425/0.9684, allocations: 4.395 MB / 0.6502 GB, free: 6.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=299): time 6.522e-06/0.9684, allocations: 0 / 0.6502 GB, free: 6.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=333): time 0.05998/1.028, allocations: 22.99 MB / 0.6726 GB, free: 15.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.029, allocations: 174.6 kB / 0.6728 GB, free: 15.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009127/1.038, allocations: 6.046 MB / 0.6787 GB, free: 9.137 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008393/1.039, allocations: 77.69 kB / 0.6787 GB, free: 9.055 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005924/1.045, allocations: 5.289 MB / 0.6839 GB, free: 3.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002102/1.047, allocations: 1.269 MB / 0.6852 GB, free: 2.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002855/1.05, allocations: 1.948 MB / 0.6871 GB, free: 460 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/1.05, allocations: 301.1 kB / 0.6873 GB, free: 156 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009401/1.059, allocations: 2.881 MB / 0.6902 GB, free: 13.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01589/1.075, allocations: 8.718 MB / 0.6987 GB, free: 1.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02515/1.1, allocations: 12.6 MB / 0.711 GB, free: 2.156 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002301/1.101, allocations: 64 kB / 0.711 GB, free: 2.094 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03433/1.135, allocations: 11.38 MB / 0.7221 GB, free: 6.672 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/1.135, allocations: 121.7 kB / 0.7223 GB, free: 6.547 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003426/1.135, allocations: 204.8 kB / 0.7225 GB, free: 6.348 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/1.136, allocations: 279.9 kB / 0.7227 GB, free: 6.074 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01172/1.148, allocations: 2.367 MB / 0.725 GB, free: 3.703 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/1.148, allocations: 410.4 kB / 0.7254 GB, free: 3.301 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/1.159, allocations: 487.4 kB / 0.7259 GB, free: 2.824 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/1.161, allocations: 0.5781 MB / 0.7265 GB, free: 2.246 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.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 (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * 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.2625/1.424, allocations: 3.402 MB / 0.7298 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.425, allocations: 0.5403 MB / 0.7303 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007755/1.433, allocations: 3.517 MB / 0.7337 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/1.433, allocations: 38.53 kB / 0.7338 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.433, allocations: 3.75 kB / 0.7338 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-05/1.433, allocations: 21.88 kB / 0.7338 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02765/1.46, allocations: 13.74 MB / 0.7472 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-05/1.461, allocations: 31.38 kB / 0.7473 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.463, allocations: 0.6587 MB / 0.7479 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.073e-05/1.463, allocations: 47 kB / 0.7479 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.463, allocations: 98.38 kB / 0.748 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.755e-05/1.463, allocations: 66.52 kB / 0.7481 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.251e-05/1.463, allocations: 55.06 kB / 0.7482 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007904/1.471, allocations: 6.205 MB / 0.7542 GB, free: 160 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/1.474, allocations: 0.8447 MB / 0.755 GB, free: 159.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007332/1.475, allocations: 99.2 kB / 0.7551 GB, free: 159.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/1.477, allocations: 161.2 kB / 0.7553 GB, free: 159.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/1.478, allocations: 312.7 kB / 0.7556 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.478, allocations: 130.2 kB / 0.7557 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006136/1.484, allocations: 3.765 MB / 0.7594 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.91e-07/1.484, allocations: 0 / 0.7594 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01247/1.496, allocations: 1.569 MB / 0.7609 GB, free: 158.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001156/1.498, allocations: 283.2 kB / 0.7612 GB, free: 158 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.511, allocations: 6.724 MB / 0.7678 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.674e-05/1.511, allocations: 3.906 kB / 0.7678 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003945/1.515, allocations: 1.89 MB / 0.7696 GB, free: 155 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007356/1.523, allocations: 0.7941 MB / 0.7704 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/1.554, allocations: 15.65 MB / 0.7857 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00527/1.559, allocations: 5.143 MB / 0.7907 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005689/1.565, allocations: 2.754 MB / 0.7934 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.566, allocations: 419.4 kB / 0.7938 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of SimCode: time 1.813e-06/1.566, allocations: 4 kB / 0.7938 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.07762/1.644, allocations: 43.05 MB / 0.8358 GB, free: 88.73 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches