Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 195.2 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007594/0.0007595, allocations: 92.41 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2906/0.2906, allocations: 44.83 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00023/0.00023, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.258, allocations: 62.95 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.3779, allocations: 110.2 MB / 0.6241 GB, free: 11.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.3782, allocations: 83.95 kB / 0.6242 GB, free: 11.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5072/0.8854, allocations: 140.8 MB / 0.7617 GB, free: 81.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8855, allocations: 4 kB / 0.7617 GB, free: 81.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002762/0.8857, allocations: 140 kB / 0.7618 GB, free: 81.12 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01646/0.9022, allocations: 6.553 MB / 0.7682 GB, free: 74.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.9023, allocations: 12.03 kB / 0.7682 GB, free: 74.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/0.9164, allocations: 3.306 MB / 0.7714 GB, free: 71.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.9274, allocations: 5.539 MB / 0.7768 GB, free: 65.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004842/0.9279, allocations: 0.5739 MB / 0.7774 GB, free: 64.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003163/0.9311, allocations: 0.7462 MB / 0.7781 GB, free: 64.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04261/0.9737, allocations: 20.75 MB / 0.7984 GB, free: 41.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000436/0.9742, allocations: 99.25 kB / 0.7985 GB, free: 41.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002787/0.977, allocations: 367.8 kB / 0.7988 GB, free: 41.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/0.9797, allocations: 1.823 MB / 0.8006 GB, free: 39.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03238/1.012, allocations: 16.55 MB / 0.8168 GB, free: 23.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5578/1.57, allocations: 76.99 MB / 0.892 GB, free: 68.27 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/1.585, allocations: 6.165 MB / 0.898 GB, free: 67.6 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/1.587, allocations: 1.971 MB / 0.8999 GB, free: 67.56 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/1.601, allocations: 9.132 MB / 0.9088 GB, free: 65.41 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/1.601, allocations: 62.34 kB / 0.9089 GB, free: 65.38 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=257): time 5.079e-06/1.601, allocations: 1.156 kB / 0.9089 GB, free: 65.38 MB / 0.5262 GB Notification: Performance of matching and sorting (n=291): time 0.05493/1.656, allocations: 21.06 MB / 0.9295 GB, free: 60.97 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.656, allocations: 165.3 kB / 0.9296 GB, free: 60.81 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.666, allocations: 5.886 MB / 0.9354 GB, free: 60.18 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004499/1.667, allocations: 71.73 kB / 0.9354 GB, free: 60.14 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00271/1.669, allocations: 4.951 MB / 0.9403 GB, free: 57.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.67, allocations: 1.117 MB / 0.9414 GB, free: 56.67 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000718/1.671, allocations: 181.1 kB / 0.9415 GB, free: 56.67 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0005964/1.672, allocations: 0.6936 MB / 0.9422 GB, free: 56.34 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004335/1.676, allocations: 2.608 MB / 0.9448 GB, free: 56.32 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006636/1.683, allocations: 8.178 MB / 0.9527 GB, free: 49.17 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.694, allocations: 11.69 MB / 0.9642 GB, free: 40.05 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002292/1.695, allocations: 55.25 kB / 0.9642 GB, free: 40.05 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.01862/1.713, allocations: 10.47 MB / 0.9744 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/1.713, allocations: 96.38 kB / 0.9745 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003337/1.714, allocations: 199.5 kB / 0.9747 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/1.714, allocations: 264.6 kB / 0.975 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006762/1.721, allocations: 2.232 MB / 0.9772 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002859/1.721, allocations: 387.5 kB / 0.9775 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00663/1.728, allocations: 0.5678 MB / 0.9781 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.729, allocations: 0.5446 MB / 0.9786 GB, free: 35.9 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 78 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1174): * Single equations (assignments): 1171 * Array equations: 3 * Algorithm blocks: 0 * 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.006473/1.736, allocations: 3.228 MB / 0.9818 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.737, allocations: 0.5174 MB / 0.9823 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/1.742, allocations: 2.857 MB / 0.9851 GB, free: 32.96 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/1.742, allocations: 31.31 kB / 0.9851 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.742, allocations: 0 / 0.9851 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/1.742, allocations: 15.39 kB / 0.9851 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.763, allocations: 12.4 MB / 0.9972 GB, free: 22.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.409e-05/1.763, allocations: 35.94 kB / 0.9972 GB, free: 22.12 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/1.765, allocations: 0.5167 MB / 0.9977 GB, free: 21.68 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.392e-05/1.765, allocations: 44 kB / 0.9978 GB, free: 21.63 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/1.765, allocations: 94.73 kB / 0.9979 GB, free: 21.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.123e-05/1.765, allocations: 72.33 kB / 0.9979 GB, free: 21.48 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-05/1.766, allocations: 47.81 kB / 0.998 GB, free: 21.44 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/1.771, allocations: 5.455 MB / 1.003 GB, free: 15.91 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.772, allocations: 0.6009 MB / 1.004 GB, free: 15.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009454/1.773, allocations: 91.31 kB / 1.004 GB, free: 15.23 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.776, allocations: 191.5 kB / 1.004 GB, free: 15.08 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/1.776, allocations: 261 kB / 1.004 GB, free: 14.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.776, allocations: 122.7 kB / 1.005 GB, free: 14.77 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006423/1.783, allocations: 3.67 MB / 1.008 GB, free: 11.77 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.113e-06/1.783, allocations: 3.938 kB / 1.008 GB, free: 11.76 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.007556/1.79, allocations: 1.479 MB / 1.01 GB, free: 10.3 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 266 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006632/1.791, allocations: 280.8 kB / 1.01 GB, free: 10.03 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.00912/1.8, allocations: 5.898 MB / 1.016 GB, free: 4.855 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/1.8, allocations: 8.062 kB / 1.016 GB, free: 4.848 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/1.802, allocations: 1.321 MB / 1.017 GB, free: 3.68 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02696/1.829, allocations: 0.7608 MB / 1.018 GB, free: 3.035 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/1.859, allocations: 18.22 MB / 1.035 GB, free: 1.871 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008936/1.868, allocations: 4.877 MB / 1.04 GB, free: 14.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/1.87, allocations: 447.3 kB / 1.041 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of SimCode: time 8.51e-07/1.87, allocations: 0 / 1.041 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of Templates: time 0.3614/2.231, allocations: 83.68 MB / 1.122 GB, free: 195.7 MB / 0.6199 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches