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.001002/0.001002, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008718/0.0008719, allocations: 101.8 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2885/0.2885, allocations: 45.22 MB / 394.7 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2743, allocations: 63.24 MB / 0.5192 GB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.389, allocations: 110.3 MB / 0.6269 GB, free: 11.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.3892, allocations: 81.19 kB / 0.6269 GB, free: 11.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5368/0.9261, allocations: 144.4 MB / 0.768 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9261, allocations: 0 / 0.768 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002846/0.9264, allocations: 137.7 kB / 0.7681 GB, free: 92.1 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.0168/0.9432, allocations: 6.648 MB / 0.7746 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9433, allocations: 6.781 kB / 0.7746 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/0.9584, allocations: 3.555 MB / 0.7781 GB, free: 88.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.9733, allocations: 6.341 MB / 0.7843 GB, free: 84.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006316/0.974, allocations: 0.5776 MB / 0.7848 GB, free: 84.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004028/0.978, allocations: 0.7448 MB / 0.7856 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04802/1.026, allocations: 20.92 MB / 0.806 GB, free: 66.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004235/1.027, allocations: 91.14 kB / 0.8061 GB, free: 66.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00266/1.029, allocations: 367.8 kB / 0.8064 GB, free: 66.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002684/1.032, allocations: 1.819 MB / 0.8082 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03352/1.065, allocations: 16.77 MB / 0.8246 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08091/1.146, allocations: 77.09 MB / 0.8999 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2796/1.426, allocations: 6.169 MB / 0.9059 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/1.441, allocations: 9.221 MB / 0.9149 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/1.441, allocations: 67.3 kB / 0.9149 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=261): time 4.669e-06/1.441, allocations: 0 / 0.9149 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=295): time 0.0528/1.494, allocations: 20.75 MB / 0.9352 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/1.494, allocations: 159.5 kB / 0.9354 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008347/1.502, allocations: 5.247 MB / 0.9405 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004543/1.503, allocations: 73.56 kB / 0.9406 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00343/1.506, allocations: 4.954 MB / 0.9454 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.508, allocations: 1.126 MB / 0.9465 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/1.508, allocations: 184.5 kB / 0.9467 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004934/1.509, allocations: 0.6901 MB / 0.9473 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/1.513, allocations: 2.622 MB / 0.9499 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005837/1.519, allocations: 8.162 MB / 0.9579 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005606/1.525, allocations: 4.5 MB / 0.9623 GB, free: 93.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.521e-05/1.525, allocations: 59.56 kB / 0.9623 GB, free: 93.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.01747/1.542, allocations: 10.51 MB / 0.9726 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/1.543, allocations: 88.84 kB / 0.9727 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000298/1.543, allocations: 195.5 kB / 0.9729 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/1.543, allocations: 295.3 kB / 0.9732 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007058/1.55, allocations: 2.242 MB / 0.9753 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002634/1.551, allocations: 386.8 kB / 0.9757 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007999/1.559, allocations: 0.5647 MB / 0.9763 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/1.56, allocations: 0.5439 MB / 0.9768 GB, free: 89.51 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: 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 (1178): * Single equations (assignments): 1175 * 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.00617/1.566, allocations: 3.238 MB / 0.98 GB, free: 88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.567, allocations: 0.5251 MB / 0.9805 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/1.571, allocations: 2.895 MB / 0.9833 GB, free: 86.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/1.571, allocations: 34.48 kB / 0.9833 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.571, allocations: 3.062 kB / 0.9833 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/1.571, allocations: 12.84 kB / 0.9833 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/1.59, allocations: 12.55 MB / 0.9956 GB, free: 81.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/1.59, allocations: 35.19 kB / 0.9956 GB, free: 81.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.592, allocations: 0.5334 MB / 0.9962 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.585e-05/1.592, allocations: 49.75 kB / 0.9962 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/1.592, allocations: 90.3 kB / 0.9963 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.652e-05/1.592, allocations: 64.25 kB / 0.9964 GB, free: 81.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.228e-05/1.592, allocations: 54.38 kB / 0.9964 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007006/1.599, allocations: 11.31 MB / 1.007 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.601, allocations: 0.5952 MB / 1.008 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006882/1.602, allocations: 95.41 kB / 1.008 GB, free: 69.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.604, allocations: 184 kB / 1.008 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/1.604, allocations: 273.2 kB / 1.009 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.604, allocations: 123.5 kB / 1.009 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005814/1.61, allocations: 3.669 MB / 1.012 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/1.61, allocations: 0 / 1.012 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008002/1.618, allocations: 1.482 MB / 1.014 GB, free: 64.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 146 * 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 (273): * Single equations (assignments): 270 * 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.0005237/1.619, allocations: 285 kB / 1.014 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007985/1.627, allocations: 5.929 MB / 1.02 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.627, allocations: 6.812 kB / 1.02 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/1.628, allocations: 1.338 MB / 1.021 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.632, allocations: 0.7144 MB / 1.022 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/1.654, allocations: 17.43 MB / 1.039 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005997/1.66, allocations: 5.019 MB / 1.044 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006334/1.666, allocations: 2.628 MB / 1.046 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008579/1.667, allocations: 374 kB / 1.047 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/1.667, allocations: 0 / 1.047 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.07353/1.741, allocations: 44.38 MB / 1.09 GB, free: 10.3 MB / 0.5417 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/jenkins/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