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.00106/0.001059, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009202/0.0009202, allocations: 101.1 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1987/0.1987, allocations: 45.14 MB / 383.7 MB, free: 208 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.612e-05, allocations: 8 kB / 453.2 MB, free: 75.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 63.25 MB / 0.5044 GB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5547, allocations: 109.5 MB / 0.6113 GB, free: 9.254 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.555, allocations: 80.45 kB / 0.6114 GB, free: 9.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.363/0.918, allocations: 141.3 MB / 0.7494 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/0.918, allocations: 0 / 0.7494 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004624/0.9185, allocations: 140 kB / 0.7495 GB, free: 3.496 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.5599/1.478, allocations: 6.315 MB / 0.7557 GB, free: 107.7 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.479, allocations: 9.75 kB / 0.7557 GB, free: 107.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/1.496, allocations: 3.561 MB / 0.7592 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.512, allocations: 6.296 MB / 0.7653 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005559/1.513, allocations: 247.5 kB / 0.7655 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00311/1.516, allocations: 455.2 kB / 0.766 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01938/1.535, allocations: 10.74 MB / 0.7765 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02703/1.562, allocations: 15.79 MB / 0.7919 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002898/1.563, allocations: 92.5 kB / 0.792 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/1.564, allocations: 49.69 kB / 0.792 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002461/1.566, allocations: 1.827 MB / 0.7938 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06777/1.634, allocations: 75.15 MB / 0.8672 GB, free: 51.35 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/1.638, allocations: 3.127 MB / 0.8703 GB, free: 49.72 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/1.64, allocations: 1.718 MB / 0.8719 GB, free: 49.06 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.641, allocations: 1.769 MB / 0.8737 GB, free: 47.48 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.641, allocations: 63.91 kB / 0.8737 GB, free: 47.42 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=264): time 4.318e-06/1.641, allocations: 0 / 0.8737 GB, free: 47.42 MB / 0.5262 GB Notification: Performance of matching and sorting (n=292): time 0.02915/1.67, allocations: 15.4 MB / 0.8888 GB, free: 40.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.67, allocations: 159.7 kB / 0.8889 GB, free: 40.64 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005087/1.675, allocations: 4.249 MB / 0.8931 GB, free: 38.17 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002409/1.675, allocations: 25.7 kB / 0.8931 GB, free: 38.14 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002279/1.678, allocations: 5.009 MB / 0.898 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008739/1.679, allocations: 1.087 MB / 0.899 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/1.679, allocations: 3.938 kB / 0.899 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003557/1.679, allocations: 0.6983 MB / 0.8997 GB, free: 32.04 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/1.682, allocations: 2.306 MB / 0.902 GB, free: 29.96 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004782/1.687, allocations: 7.941 MB / 0.9097 GB, free: 19.75 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/1.691, allocations: 4.237 MB / 0.9139 GB, free: 16.14 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.286e-05/1.691, allocations: 60 kB / 0.9139 GB, free: 16.09 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1226) (initialization): time 0.01215/1.703, allocations: 9.008 MB / 0.9227 GB, free: 8.113 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/1.704, allocations: 93.56 kB / 0.9228 GB, free: 8.023 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/1.704, allocations: 208 kB / 0.923 GB, free: 7.82 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/1.704, allocations: 296 kB / 0.9233 GB, free: 7.531 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006159/1.71, allocations: 2.28 MB / 0.9255 GB, free: 5.535 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000188/1.71, allocations: 402.7 kB / 0.9259 GB, free: 5.184 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006092/1.716, allocations: 402.9 kB / 0.9263 GB, free: 4.863 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008508/1.717, allocations: 0.5565 MB / 0.9268 GB, free: 4.316 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1202): * Single equations (assignments): 1199 * 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.0009571/1.718, allocations: 0.6268 MB / 0.9274 GB, free: 3.695 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/1.719, allocations: 469.9 kB / 0.9279 GB, free: 3.23 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/1.722, allocations: 2.505 MB / 0.9303 GB, free: 1.098 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/1.722, allocations: 35.95 kB / 0.9304 GB, free: 1.062 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.722, allocations: 0 / 0.9304 GB, free: 1.062 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/1.722, allocations: 11.81 kB / 0.9304 GB, free: 1.062 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/1.74, allocations: 10.53 MB / 0.9407 GB, free: 7.961 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/1.74, allocations: 32 kB / 0.9407 GB, free: 7.93 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.742, allocations: 0.508 MB / 0.9412 GB, free: 7.488 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/1.742, allocations: 50.44 kB / 0.9412 GB, free: 7.441 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/1.742, allocations: 54.42 kB / 0.9413 GB, free: 7.395 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.12e-05/1.742, allocations: 65.56 kB / 0.9414 GB, free: 7.336 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.098e-05/1.742, allocations: 47.97 kB / 0.9414 GB, free: 7.289 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009923/1.752, allocations: 9.569 MB / 0.9507 GB, free: 13.35 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.753, allocations: 0.5211 MB / 0.9512 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/1.754, allocations: 51.5 kB / 0.9513 GB, free: 12.78 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.756, allocations: 141.6 kB / 0.9514 GB, free: 12.68 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/1.756, allocations: 253.2 kB / 0.9517 GB, free: 12.49 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/1.756, allocations: 123.4 kB / 0.9518 GB, free: 12.37 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004961/1.761, allocations: 2.767 MB / 0.9545 GB, free: 9.977 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.81e-07/1.761, allocations: 0 / 0.9545 GB, free: 9.977 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.007757/1.769, allocations: 1.248 MB / 0.9557 GB, free: 8.738 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * 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.0005501/1.77, allocations: 221.4 kB / 0.9559 GB, free: 8.531 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.008325/1.778, allocations: 5.294 MB / 0.9611 GB, free: 3.699 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.778, allocations: 8 kB / 0.9611 GB, free: 3.691 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/1.78, allocations: 1.213 MB / 0.9623 GB, free: 2.578 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.783, allocations: 0.5527 MB / 0.9628 GB, free: 2.117 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2725/2.056, allocations: 11.8 MB / 0.9743 GB, free: 121.6 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008086/2.064, allocations: 5.009 MB / 0.9792 GB, free: 120.8 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.007824/2.072, allocations: 2.657 MB / 0.9818 GB, free: 120.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/2.073, allocations: 343.5 kB / 0.9822 GB, free: 120.7 MB / 0.5574 GB Notification: Performance of SimCode: time 1.042e-06/2.073, allocations: 3.125 kB / 0.9822 GB, free: 120.7 MB / 0.5574 GB Notification: Performance of Templates: time 0.06118/2.134, allocations: 37.08 MB / 1.018 GB, free: 118.8 MB / 0.5574 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