Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001827, allocations: 197.4 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008728/0.0008729, allocations: 90.81 kB / 297.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.395/0.395, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4077, allocations: 62.96 MB / 0.5184 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5659, allocations: 110.2 MB / 0.6261 GB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5662, allocations: 87.92 kB / 0.6261 GB, free: 10.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6419/1.208, allocations: 140.8 MB / 0.7636 GB, free: 81.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.208, allocations: 0 / 0.7636 GB, free: 81.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000418/1.209, allocations: 140 kB / 0.7637 GB, free: 81.06 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.0195/1.228, allocations: 6.557 MB / 0.7701 GB, free: 74.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.228, allocations: 8.031 kB / 0.7701 GB, free: 74.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/1.244, allocations: 3.306 MB / 0.7734 GB, free: 71.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/1.258, allocations: 5.535 MB / 0.7788 GB, free: 65.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006414/1.259, allocations: 0.57 MB / 0.7793 GB, free: 64.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004148/1.263, allocations: 0.7579 MB / 0.7801 GB, free: 64.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05096/1.314, allocations: 20.74 MB / 0.8003 GB, free: 41.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006067/1.315, allocations: 95.25 kB / 0.8004 GB, free: 41.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00391/1.319, allocations: 375.8 kB / 0.8008 GB, free: 41.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003387/1.322, allocations: 1.823 MB / 0.8026 GB, free: 39.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03749/1.36, allocations: 16.55 MB / 0.8187 GB, free: 22.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7006/2.06, allocations: 76.99 MB / 0.8939 GB, free: 68.77 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/2.075, allocations: 6.165 MB / 0.8999 GB, free: 68.11 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/2.078, allocations: 1.969 MB / 0.9018 GB, free: 68.07 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/2.093, allocations: 9.137 MB / 0.9108 GB, free: 65.92 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.185e-05/2.093, allocations: 61.44 kB / 0.9108 GB, free: 65.88 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=257): time 6.372e-06/2.093, allocations: 3.812 kB / 0.9108 GB, free: 65.88 MB / 0.5262 GB Notification: Performance of matching and sorting (n=291): time 0.05813/2.151, allocations: 21.08 MB / 0.9314 GB, free: 61.48 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/2.152, allocations: 158.6 kB / 0.9316 GB, free: 61.32 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/2.163, allocations: 5.887 MB / 0.9373 GB, free: 60.68 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006144/2.163, allocations: 69.39 kB / 0.9374 GB, free: 60.64 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003686/2.167, allocations: 4.962 MB / 0.9422 GB, free: 57.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/2.169, allocations: 1.107 MB / 0.9433 GB, free: 57.17 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007507/2.17, allocations: 189.9 kB / 0.9435 GB, free: 57.17 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0006766/2.17, allocations: 0.6917 MB / 0.9442 GB, free: 56.84 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/2.175, allocations: 2.608 MB / 0.9467 GB, free: 56.82 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007548/2.183, allocations: 8.172 MB / 0.9547 GB, free: 49.68 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/2.195, allocations: 11.69 MB / 0.9661 GB, free: 40.54 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002182/2.195, allocations: 54.72 kB / 0.9662 GB, free: 40.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.01962/2.215, allocations: 10.47 MB / 0.9764 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/2.215, allocations: 90.47 kB / 0.9765 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003924/2.215, allocations: 199.2 kB / 0.9767 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/2.216, allocations: 261.8 kB / 0.9769 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00753/2.223, allocations: 2.234 MB / 0.9791 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004786/2.224, allocations: 387.8 kB / 0.9795 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/2.232, allocations: 0.5734 MB / 0.98 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/2.233, allocations: 0.5381 MB / 0.9806 GB, free: 36.39 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.007426/2.241, allocations: 3.238 MB / 0.9837 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/2.242, allocations: 0.5197 MB / 0.9842 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005583/2.248, allocations: 2.85 MB / 0.987 GB, free: 33 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/2.248, allocations: 32 kB / 0.987 GB, free: 32.97 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/2.248, allocations: 0 / 0.987 GB, free: 32.97 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/2.248, allocations: 11.16 kB / 0.987 GB, free: 32.97 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/2.27, allocations: 12.41 MB / 0.9992 GB, free: 22.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.747e-05/2.27, allocations: 31.52 kB / 0.9992 GB, free: 22.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/2.272, allocations: 0.5218 MB / 0.9997 GB, free: 21.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.916e-05/2.272, allocations: 44 kB / 0.9997 GB, free: 21.66 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/2.272, allocations: 91 kB / 0.9998 GB, free: 21.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.916e-05/2.273, allocations: 73.41 kB / 0.9999 GB, free: 21.51 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-05/2.273, allocations: 47.81 kB / 0.9999 GB, free: 21.46 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006204/2.279, allocations: 5.459 MB / 1.005 GB, free: 15.94 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/2.281, allocations: 0.592 MB / 1.006 GB, free: 15.35 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/2.282, allocations: 92.8 kB / 1.006 GB, free: 15.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/2.285, allocations: 198.6 kB / 1.006 GB, free: 15.11 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/2.285, allocations: 256.7 kB / 1.006 GB, free: 14.91 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/2.285, allocations: 124.8 kB / 1.006 GB, free: 14.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.00765/2.293, allocations: 3.672 MB / 1.01 GB, free: 11.79 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.132e-06/2.293, allocations: 0 / 1.01 GB, free: 11.79 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.009167/2.302, allocations: 1.478 MB / 1.012 GB, free: 10.33 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.0006478/2.303, allocations: 277.2 kB / 1.012 GB, free: 10.06 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.009575/2.313, allocations: 5.897 MB / 1.018 GB, free: 4.887 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/2.313, allocations: 4.625 kB / 1.018 GB, free: 4.883 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/2.314, allocations: 1.324 MB / 1.019 GB, free: 3.711 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02898/2.343, allocations: 0.7633 MB / 1.02 GB, free: 3.066 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03622/2.38, allocations: 17.46 MB / 1.037 GB, free: 2.527 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01836/2.398, allocations: 5.354 MB / 1.042 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.00982/2.408, allocations: 2.617 MB / 1.044 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/2.41, allocations: 378.7 kB / 1.045 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of SimCode: time 1.322e-06/2.41, allocations: 0 / 1.045 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of Templates: time 0.09618/2.506, allocations: 44.41 MB / 1.088 GB, free: 2.641 MB / 0.5887 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches