Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.001039, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008236/0.0008235, allocations: 91.84 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1796/0.1796, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.602e-05, allocations: 4.203 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4801, allocations: 109.9 MB / 0.609 GB, free: 11.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.4803, allocations: 71.97 kB / 0.6091 GB, free: 11.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5639/1.044, allocations: 141.2 MB / 0.747 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/1.044, allocations: 0 / 0.747 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002545/1.044, allocations: 142.4 kB / 0.7471 GB, free: 113.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.01563/1.06, allocations: 6.432 MB / 0.7534 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.06, allocations: 11.56 kB / 0.7534 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/1.076, allocations: 3.552 MB / 0.7569 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/1.09, allocations: 7.077 MB / 0.7638 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/1.091, allocations: 0.5747 MB / 0.7644 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/1.093, allocations: 0.7494 MB / 0.7651 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03495/1.128, allocations: 20.68 MB / 0.7853 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/1.128, allocations: 99.92 kB / 0.7854 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008396/1.129, allocations: 368.3 kB / 0.7857 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/1.131, allocations: 1.823 MB / 0.7875 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0322/1.163, allocations: 16.37 MB / 0.8035 GB, free: 95.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06591/1.229, allocations: 77.17 MB / 0.8789 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/1.244, allocations: 6.133 MB / 0.8849 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/1.246, allocations: 1.946 MB / 0.8868 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/1.26, allocations: 9.272 MB / 0.8958 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01271/1.273, allocations: 4.066 MB / 0.8998 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=260): time 5.34e-06/1.273, allocations: 4 kB / 0.8998 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=294): time 0.2934/1.566, allocations: 19.7 MB / 0.919 GB, free: 117 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/1.566, allocations: 157.8 kB / 0.9192 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008182/1.574, allocations: 5.115 MB / 0.9242 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004107/1.575, allocations: 72.66 kB / 0.9242 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003774/1.579, allocations: 5.063 MB / 0.9292 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.58, allocations: 1.135 MB / 0.9303 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/1.58, allocations: 188.6 kB / 0.9305 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004211/1.58, allocations: 0.689 MB / 0.9311 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/1.584, allocations: 2.447 MB / 0.9335 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/1.59, allocations: 7.985 MB / 0.9413 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006067/1.596, allocations: 4.409 MB / 0.9456 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/1.596, allocations: 61.69 kB / 0.9457 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.01453/1.61, allocations: 10.21 MB / 0.9557 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.611, allocations: 124.2 kB / 0.9558 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/1.611, allocations: 196.4 kB / 0.956 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/1.611, allocations: 289.7 kB / 0.9562 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006191/1.617, allocations: 2.253 MB / 0.9584 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000196/1.617, allocations: 384.2 kB / 0.9588 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007841/1.625, allocations: 0.5912 MB / 0.9594 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/1.627, allocations: 0.5401 MB / 0.9599 GB, free: 104.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 83 ($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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1178): * Single equations (assignments): 1174 * 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.001656/1.629, allocations: 0.8317 MB / 0.9607 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.63, allocations: 0.5216 MB / 0.9612 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/1.635, allocations: 2.815 MB / 0.964 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/1.635, allocations: 30.27 kB / 0.964 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.635, allocations: 3.625 kB / 0.964 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/1.635, allocations: 24.83 kB / 0.964 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.656, allocations: 12.26 MB / 0.976 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/1.656, allocations: 33.38 kB / 0.9761 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.658, allocations: 0.5448 MB / 0.9766 GB, free: 97.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.525e-05/1.658, allocations: 46.53 kB / 0.9766 GB, free: 97.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/1.658, allocations: 96.45 kB / 0.9767 GB, free: 97.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.127e-05/1.658, allocations: 70 kB / 0.9768 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-05/1.659, allocations: 49.28 kB / 0.9768 GB, free: 97.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006083/1.665, allocations: 10.84 MB / 0.9874 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.666, allocations: 0.597 MB / 0.988 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000593/1.667, allocations: 87.02 kB / 0.9881 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.669, allocations: 206.8 kB / 0.9883 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/1.669, allocations: 280.9 kB / 0.9886 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.669, allocations: 118.4 kB / 0.9887 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004731/1.674, allocations: 3.535 MB / 0.9921 GB, free: 85.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/1.674, allocations: 3.781 kB / 0.9921 GB, free: 85.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007757/1.682, allocations: 1.481 MB / 0.9936 GB, free: 85.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (272): * Single equations (assignments): 267 * 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.0005418/1.682, allocations: 280.9 kB / 0.9938 GB, free: 85.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007619/1.69, allocations: 5.776 MB / 0.9995 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.253e-05/1.69, allocations: 7.312 kB / 0.9995 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002354/1.692, allocations: 1.568 MB / 1.001 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/1.696, allocations: 0.7185 MB / 1.002 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.716, allocations: 12.01 MB / 1.013 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007314/1.724, allocations: 5.036 MB / 1.018 GB, free: 72.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006891/1.73, allocations: 2.621 MB / 1.021 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.732, allocations: 375.8 kB / 1.021 GB, free: 71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/1.732, allocations: 0 / 1.021 GB, free: 71 MB / 0.5261 GB Notification: Performance of Templates: time 0.07252/1.804, allocations: 44.82 MB / 1.065 GB, free: 39.33 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches