Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.00159, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 98.84 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.291/0.291, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006424, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1235, allocations: 58.86 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.4487/0.5723, allocations: 75.01 MB / 0.552 GB, free: 5.613 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05261/0.625, allocations: 16.83 MB / 0.5684 GB, free: 9.879 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01993/0.645, allocations: 368.3 kB / 0.5688 GB, free: 9.824 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01484/0.6598, allocations: 3.745 MB / 0.5724 GB, free: 7.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04676/0.7067, allocations: 10.56 MB / 0.5827 GB, free: 13.65 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007876/0.7146, allocations: 1.088 MB / 0.5838 GB, free: 12.56 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01144/0.7261, allocations: 3.946 MB / 0.5876 GB, free: 8.613 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02067/0.7468, allocations: 8.482 MB / 0.5959 GB, free: 68 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/0.752, allocations: 1.783 MB / 0.5977 GB, free: 14.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006238/0.7583, allocations: 2.562 MB / 0.6002 GB, free: 11.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002223/0.7606, allocations: 280 kB / 0.6004 GB, free: 11.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/0.765, allocations: 0.8583 MB / 0.6013 GB, free: 10.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005848/0.7709, allocations: 2.848 MB / 0.6041 GB, free: 7.719 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003569/0.7745, allocations: 1.427 MB / 0.6055 GB, free: 6.281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01738/0.7919, allocations: 9.391 MB / 0.6146 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.792, allocations: 3.938 kB / 0.6146 GB, free: 12.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.792, allocations: 0 / 0.6146 GB, free: 12.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004851/0.7925, allocations: 4 kB / 0.6146 GB, free: 12.86 MB / 426.7 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.02246/0.815, allocations: 6.846 MB / 0.6213 GB, free: 5.926 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.8151, allocations: 8.031 kB / 0.6213 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02305/0.8381, allocations: 3.274 MB / 0.6245 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.852, allocations: 4.401 MB / 0.6288 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007433/0.8528, allocations: 463.6 kB / 0.6293 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003128/0.8559, allocations: 0.5815 MB / 0.6298 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0752/0.9312, allocations: 21.49 MB / 0.6508 GB, free: 6.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003793/0.9316, allocations: 79.25 kB / 0.6509 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002641/0.9343, allocations: 287.7 kB / 0.6512 GB, free: 6.121 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01049/0.9448, allocations: 3.541 MB / 0.6546 GB, free: 2.574 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07162/1.016, allocations: 17.53 MB / 0.6717 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8145/1.831, allocations: 70.47 MB / 0.7406 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07664/1.908, allocations: 14.58 MB / 0.7548 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03482/1.943, allocations: 14.52 MB / 0.769 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07032/2.013, allocations: 12.44 MB / 0.7811 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=303): time 1.045e-05/2.013, allocations: 0 / 0.7811 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=337): time 0.1986/2.212, allocations: 42.31 MB / 0.8225 GB, free: 78.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/2.212, allocations: 162.2 kB / 0.8226 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/2.224, allocations: 6.381 MB / 0.8288 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007616/2.225, allocations: 73.7 kB / 0.8289 GB, free: 71.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004628/2.23, allocations: 5.157 MB / 0.8339 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001824/2.232, allocations: 1.284 MB / 0.8352 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000968/2.233, allocations: 196 kB / 0.8354 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006078/2.233, allocations: 0.7204 MB / 0.8361 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008848/2.242, allocations: 3.24 MB / 0.8393 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01236/2.254, allocations: 9.033 MB / 0.8481 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/2.267, allocations: 5.225 MB / 0.8532 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001594/2.267, allocations: 60 kB / 0.8532 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.03157/2.299, allocations: 12.06 MB / 0.865 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/2.299, allocations: 124.2 kB / 0.8651 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002688/2.299, allocations: 204.8 kB / 0.8653 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/2.301, allocations: 0.5279 MB / 0.8658 GB, free: 31.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01468/2.315, allocations: 2.421 MB / 0.8682 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/2.319, allocations: 2.719 MB / 0.8709 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/2.33, allocations: 0.5579 MB / 0.8714 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/2.332, allocations: 0.5742 MB / 0.872 GB, free: 25.07 MB / 0.5105 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1260): * Single equations (assignments): 1255 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00856/2.34, allocations: 3.398 MB / 0.8753 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/2.341, allocations: 0.5515 MB / 0.8758 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/2.354, allocations: 4.436 MB / 0.8802 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.28e-05/2.354, allocations: 42.44 kB / 0.8802 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/2.354, allocations: 0 / 0.8802 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.574e-05/2.354, allocations: 19.94 kB / 0.8802 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03698/2.391, allocations: 13.68 MB / 0.8936 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.436e-05/2.391, allocations: 28 kB / 0.8936 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005542/2.397, allocations: 0.7104 MB / 0.8943 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-05/2.397, allocations: 48 kB / 0.8943 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005012/2.398, allocations: 93.39 kB / 0.8944 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.933e-05/2.398, allocations: 63.78 kB / 0.8945 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.913e-05/2.398, allocations: 44.28 kB / 0.8945 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/2.418, allocations: 11.82 MB / 0.9061 GB, free: 4.078 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003462/2.421, allocations: 0.8919 MB / 0.9069 GB, free: 3.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.423, allocations: 96.53 kB / 0.907 GB, free: 3.066 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004795/2.428, allocations: 187.8 kB / 0.9072 GB, free: 2.883 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/2.429, allocations: 301 kB / 0.9075 GB, free: 2.59 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003725/2.429, allocations: 131.8 kB / 0.9076 GB, free: 2.465 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01113/2.44, allocations: 3.999 MB / 0.9115 GB, free: 14.47 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6.62e-07/2.44, allocations: 0 / 0.9115 GB, free: 14.47 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01127/2.452, allocations: 1.627 MB / 0.9131 GB, free: 12.85 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * 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 (322): * Single equations (assignments): 317 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/2.453, allocations: 307.8 kB / 0.9134 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02148/2.475, allocations: 7.32 MB / 0.9206 GB, free: 5.234 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.082e-05/2.475, allocations: 4 kB / 0.9206 GB, free: 5.23 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.006362/2.481, allocations: 1.869 MB / 0.9224 GB, free: 3.367 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005977/2.487, allocations: 0.7068 MB / 0.9231 GB, free: 2.664 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3823/2.869, allocations: 19.61 MB / 0.9422 GB, free: 190.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01348/2.883, allocations: 5.298 MB / 0.9474 GB, free: 189.8 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002798/2.886, allocations: 495.6 kB / 0.9479 GB, free: 189.8 MB / 0.5418 GB Notification: Performance of SimCode: time 1.973e-06/2.886, allocations: 0 / 0.9479 GB, free: 189.8 MB / 0.5418 GB Notification: Performance of Templates: time 0.2003/3.086, allocations: 105 MB / 1.05 GB, free: 98.82 MB / 0.5418 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches