Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009166/0.0009167, allocations: 95.28 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1706/0.1706, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.282e-05, allocations: 8 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08174, allocations: 63.24 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4188, allocations: 110.7 MB / 0.6195 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4191, allocations: 77.56 kB / 0.6196 GB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6045/1.024, allocations: 145 MB / 0.7612 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.325e-06/1.024, allocations: 0 / 0.7612 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003544/1.024, allocations: 143.8 kB / 0.7613 GB, free: 107.8 MB / 0.5261 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.02091/1.045, allocations: 6.439 MB / 0.7676 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.045, allocations: 14.36 kB / 0.7676 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/1.063, allocations: 3.554 MB / 0.7711 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/1.079, allocations: 6.318 MB / 0.7773 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005626/1.079, allocations: 0.5737 MB / 0.7778 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003384/1.083, allocations: 0.7595 MB / 0.7786 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04527/1.128, allocations: 20.69 MB / 0.7988 GB, free: 99.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/1.128, allocations: 98.2 kB / 0.7989 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/1.13, allocations: 368.9 kB / 0.7992 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/1.132, allocations: 1.82 MB / 0.801 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03535/1.168, allocations: 16.37 MB / 0.817 GB, free: 99.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07054/1.238, allocations: 77.16 MB / 0.8923 GB, free: 41.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/1.253, allocations: 6.141 MB / 0.8983 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002372/1.255, allocations: 1.949 MB / 0.9002 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/1.268, allocations: 9.275 MB / 0.9093 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01207/1.28, allocations: 4.079 MB / 0.9133 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=260): time 5.971e-06/1.28, allocations: 0 / 0.9133 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=294): time 0.04682/1.327, allocations: 19.71 MB / 0.9325 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.327, allocations: 157.8 kB / 0.9327 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006469/1.333, allocations: 5.117 MB / 0.9377 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000459/1.334, allocations: 69.7 kB / 0.9377 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004033/1.338, allocations: 5.061 MB / 0.9427 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.339, allocations: 1.129 MB / 0.9438 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005088/1.339, allocations: 184 kB / 0.944 GB, free: 12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004957/1.34, allocations: 0.6907 MB / 0.9446 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003711/1.344, allocations: 2.447 MB / 0.947 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2733/1.617, allocations: 7.983 MB / 0.9548 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00713/1.624, allocations: 4.409 MB / 0.9591 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/1.624, allocations: 57.88 kB / 0.9592 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02018/1.645, allocations: 10.21 MB / 0.9691 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002104/1.645, allocations: 118.8 kB / 0.9693 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003965/1.645, allocations: 200.2 kB / 0.9694 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/1.646, allocations: 294.5 kB / 0.9697 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007426/1.653, allocations: 2.251 MB / 0.9719 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003283/1.653, allocations: 391 kB / 0.9723 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007307/1.661, allocations: 0.5924 MB / 0.9729 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.662, allocations: 0.5402 MB / 0.9734 GB, free: 107.4 MB / 0.5417 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.001522/1.664, allocations: 0.8296 MB / 0.9742 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/1.665, allocations: 0.5224 MB / 0.9747 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/1.669, allocations: 2.824 MB / 0.9775 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/1.669, allocations: 30.91 kB / 0.9775 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.669, allocations: 0 / 0.9775 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/1.669, allocations: 10.59 kB / 0.9775 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.688, allocations: 12.27 MB / 0.9895 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/1.688, allocations: 33.66 kB / 0.9895 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.689, allocations: 0.5367 MB / 0.9901 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.7e-05/1.69, allocations: 47.12 kB / 0.9901 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/1.69, allocations: 101.6 kB / 0.9902 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.967e-05/1.69, allocations: 64.53 kB / 0.9903 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-05/1.69, allocations: 52.19 kB / 0.9903 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/1.696, allocations: 10.85 MB / 1.001 GB, free: 96.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.697, allocations: 0.5913 MB / 1.001 GB, free: 96.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006944/1.698, allocations: 91.72 kB / 1.002 GB, free: 96.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/1.7, allocations: 212.2 kB / 1.002 GB, free: 96.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/1.701, allocations: 271 kB / 1.002 GB, free: 96.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.701, allocations: 122 kB / 1.002 GB, free: 96.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005548/1.706, allocations: 3.536 MB / 1.006 GB, free: 95.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/1.706, allocations: 0 / 1.006 GB, free: 95.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008332/1.715, allocations: 1.489 MB / 1.007 GB, free: 95.79 MB / 0.5417 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.0006667/1.716, allocations: 269.3 kB / 1.007 GB, free: 95.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008706/1.724, allocations: 5.774 MB / 1.013 GB, free: 94.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.557e-05/1.724, allocations: 3.094 kB / 1.013 GB, free: 94.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/1.727, allocations: 1.538 MB / 1.014 GB, free: 94.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004361/1.731, allocations: 0.7218 MB / 1.015 GB, free: 94.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/1.756, allocations: 12.01 MB / 1.027 GB, free: 89.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007765/1.764, allocations: 5.032 MB / 1.032 GB, free: 87.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007798/1.771, allocations: 2.622 MB / 1.034 GB, free: 87.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.773, allocations: 375.6 kB / 1.035 GB, free: 87.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/1.773, allocations: 1.75 kB / 1.035 GB, free: 87.64 MB / 0.5417 GB Notification: Performance of Templates: time 0.07763/1.85, allocations: 44.78 MB / 1.078 GB, free: 67.57 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches