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.0015/0.001504, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001121/0.001121, allocations: 90.67 kB / 267.5 MB, free: 14.04 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.2756/0.2756, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.373e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.52/0.6348, allocations: 109 MB / 0.5792 GB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.6351, allocations: 81.8 kB / 0.5793 GB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9635/1.599, allocations: 146.7 MB / 0.7226 GB, free: 96.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.455e-06/1.599, allocations: 3 kB / 0.7226 GB, free: 96.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004626/1.599, allocations: 149.8 kB / 0.7227 GB, free: 96.69 MB / 0.4948 GB 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.02841/1.628, allocations: 6.741 MB / 0.7293 GB, free: 93.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.628, allocations: 7.812 kB / 0.7293 GB, free: 93.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02951/1.657, allocations: 3.627 MB / 0.7329 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0266/1.684, allocations: 7.677 MB / 0.7404 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000805/1.685, allocations: 0.5979 MB / 0.7409 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004555/1.689, allocations: 0.7978 MB / 0.7417 GB, free: 92.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07402/1.763, allocations: 21.54 MB / 0.7628 GB, free: 88.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004915/1.764, allocations: 91.12 kB / 0.7628 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003895/1.768, allocations: 387.5 kB / 0.7632 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00545/1.773, allocations: 1.955 MB / 0.7651 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06185/1.835, allocations: 17.21 MB / 0.7819 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1209/1.956, allocations: 79.66 MB / 0.8597 GB, free: 20.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02937/1.986, allocations: 6.49 MB / 0.8661 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005597/1.991, allocations: 2.165 MB / 0.8682 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02776/2.019, allocations: 9.952 MB / 0.8779 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02464/2.044, allocations: 4.284 MB / 0.8821 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=299): time 7.935e-06/2.044, allocations: 0 / 0.8821 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of matching and sorting (n=333): time 0.4682/2.512, allocations: 21.03 MB / 0.9026 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/2.512, allocations: 162.9 kB / 0.9028 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01702/2.529, allocations: 5.293 MB / 0.9079 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000701/2.53, allocations: 79.86 kB / 0.908 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006457/2.537, allocations: 5.145 MB / 0.913 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002182/2.539, allocations: 1.269 MB / 0.9143 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/2.54, allocations: 196.9 kB / 0.9145 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001074/2.541, allocations: 0.7193 MB / 0.9152 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008859/2.55, allocations: 2.658 MB / 0.9178 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01251/2.563, allocations: 8.403 MB / 0.926 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/2.574, allocations: 4.704 MB / 0.9306 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002376/2.574, allocations: 60 kB / 0.9306 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.02943/2.604, allocations: 10.69 MB / 0.9411 GB, free: 91.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/2.604, allocations: 122.5 kB / 0.9412 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003461/2.604, allocations: 204.2 kB / 0.9414 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/2.605, allocations: 298.1 kB / 0.9417 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0154/2.62, allocations: 2.394 MB / 0.944 GB, free: 91.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000441/2.621, allocations: 405.3 kB / 0.9444 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01274/2.633, allocations: 0.6074 MB / 0.945 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00231/2.636, allocations: 0.5735 MB / 0.9455 GB, free: 91.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1253): * Single equations (assignments): 1249 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003513/2.639, allocations: 0.864 MB / 0.9464 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/2.641, allocations: 0.5552 MB / 0.9469 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009433/2.65, allocations: 3.271 MB / 0.9501 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.251e-05/2.65, allocations: 35.59 kB / 0.9501 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/2.65, allocations: 0 / 0.9501 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.646e-05/2.65, allocations: 13.59 kB / 0.9502 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03895/2.689, allocations: 13.58 MB / 0.9634 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.349e-05/2.69, allocations: 30.75 kB / 0.9634 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00483/2.694, allocations: 0.614 MB / 0.964 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.204e-05/2.695, allocations: 55.75 kB / 0.9641 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005393/2.695, allocations: 105.7 kB / 0.9642 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.925e-05/2.695, allocations: 65.39 kB / 0.9643 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-05/2.695, allocations: 55.25 kB / 0.9643 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/2.71, allocations: 11.97 MB / 0.976 GB, free: 76.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004302/2.714, allocations: 0.859 MB / 0.9768 GB, free: 76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002613/2.717, allocations: 105 kB / 0.9769 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006118/2.723, allocations: 221.1 kB / 0.9772 GB, free: 75.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009829/2.724, allocations: 302.4 kB / 0.9774 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000316/2.725, allocations: 131.4 kB / 0.9776 GB, free: 75.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01005/2.735, allocations: 3.666 MB / 0.9811 GB, free: 74.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/2.735, allocations: 0 / 0.9811 GB, free: 74.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01211/2.747, allocations: 1.59 MB / 0.9827 GB, free: 74.33 MB / 0.5105 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 309 * 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.001329/2.748, allocations: 272.2 kB / 0.983 GB, free: 74.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01492/2.763, allocations: 6.278 MB / 0.9891 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.385e-05/2.763, allocations: 7.344 kB / 0.9891 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004585/2.768, allocations: 1.668 MB / 0.9907 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006416/2.774, allocations: 0.731 MB / 0.9914 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04516/2.82, allocations: 13.69 MB / 1.005 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01262/2.832, allocations: 5.296 MB / 1.01 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/2.835, allocations: 484 kB / 1.01 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/2.835, allocations: 3.062 kB / 1.01 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.5592/3.394, allocations: 88.4 MB / 1.097 GB, free: 75.48 MB / 0.5261 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