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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009687/0.0009688, allocations: 91.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 46.2 MB / 345.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1589, allocations: 63.55 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3704/0.5293, allocations: 73.21 MB / 0.5433 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04641/0.5758, allocations: 14.45 MB / 0.5574 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02042/0.5963, allocations: 319.6 kB / 0.5577 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.5995, allocations: 0.6383 MB / 0.5583 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00865/0.6082, allocations: 2.338 MB / 0.5606 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.6116, allocations: 1.084 MB / 0.5616 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01563/0.6272, allocations: 9.616 MB / 0.571 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01445/0.6417, allocations: 9.279 MB / 0.5801 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/0.6459, allocations: 1.836 MB / 0.5819 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004994/0.6509, allocations: 3.298 MB / 0.5851 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009709/0.6519, allocations: 247.9 kB / 0.5853 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.6545, allocations: 0.9868 MB / 0.5863 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002993/0.6575, allocations: 2.832 MB / 0.5891 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00385/0.6613, allocations: 3.203 MB / 0.5922 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.674, allocations: 10.23 MB / 0.6022 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.674, allocations: 0 / 0.6022 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.674, allocations: 0 / 0.6022 GB, free: 12.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004212/0.6745, allocations: 0 / 0.6022 GB, free: 12.51 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01356/0.688, allocations: 6.116 MB / 0.6082 GB, free: 6.316 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.6881, allocations: 8.875 kB / 0.6082 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.6988, allocations: 2.651 MB / 0.6108 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00756/0.7064, allocations: 3.529 MB / 0.6142 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.7068, allocations: 435.5 kB / 0.6146 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.7082, allocations: 0.5465 MB / 0.6151 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04363/0.7518, allocations: 19.82 MB / 0.6345 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002187/0.7521, allocations: 71.25 kB / 0.6346 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008114/0.7529, allocations: 271.8 kB / 0.6348 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004768/0.7577, allocations: 3.146 MB / 0.6379 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03838/0.7961, allocations: 15.93 MB / 0.6535 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6417/1.438, allocations: 64 MB / 0.716 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0191/1.457, allocations: 6.37 MB / 0.7222 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/1.46, allocations: 2.054 MB / 0.7242 GB, free: 138 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0155/1.476, allocations: 9.195 MB / 0.7332 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.195e-05/1.476, allocations: 64.94 kB / 0.7332 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 7.825e-06/1.476, allocations: 1.312 kB / 0.7332 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05231/1.528, allocations: 21.56 MB / 0.7543 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/1.529, allocations: 161.6 kB / 0.7544 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006812/1.535, allocations: 5.751 MB / 0.7601 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004129/1.536, allocations: 67.66 kB / 0.7601 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002249/1.538, allocations: 4.834 MB / 0.7648 GB, free: 115.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000954/1.539, allocations: 1.117 MB / 0.7659 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008025/1.54, allocations: 0.7764 MB / 0.7667 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.356e-05/1.54, allocations: 301.1 kB / 0.767 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/1.543, allocations: 2.657 MB / 0.7696 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/1.549, allocations: 8.214 MB / 0.7776 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.56, allocations: 11.79 MB / 0.7891 GB, free: 85.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/1.56, allocations: 56 kB / 0.7892 GB, free: 85.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01646/1.577, allocations: 10.57 MB / 0.7995 GB, free: 75.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/1.577, allocations: 88.94 kB / 0.7996 GB, free: 75.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/1.577, allocations: 196 kB / 0.7998 GB, free: 74.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/1.577, allocations: 260 kB / 0.8 GB, free: 74.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/1.583, allocations: 2.219 MB / 0.8022 GB, free: 72.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001856/1.583, allocations: 386.5 kB / 0.8025 GB, free: 72.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005331/1.589, allocations: 463.4 kB / 0.803 GB, free: 71.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006422/1.589, allocations: 0.5477 MB / 0.8035 GB, free: 71.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,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.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.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.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 (1183): * Single equations (assignments): 1180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004703/1.594, allocations: 3.141 MB / 0.8066 GB, free: 67.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008168/1.595, allocations: 0.5129 MB / 0.8071 GB, free: 67.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/1.599, allocations: 3.018 MB / 0.81 GB, free: 64.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/1.6, allocations: 35.94 kB / 0.8101 GB, free: 64.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/1.6, allocations: 3.984 kB / 0.8101 GB, free: 64.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/1.6, allocations: 19.94 kB / 0.8101 GB, free: 64.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/1.618, allocations: 12.33 MB / 0.8221 GB, free: 51.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/1.618, allocations: 28 kB / 0.8222 GB, free: 51.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.62, allocations: 0.558 MB / 0.8227 GB, free: 50.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.253e-05/1.62, allocations: 44 kB / 0.8227 GB, free: 50.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.62, allocations: 97.5 kB / 0.8228 GB, free: 50.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.301e-05/1.62, allocations: 63.78 kB / 0.8229 GB, free: 50.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.209e-05/1.62, allocations: 47.81 kB / 0.8229 GB, free: 50.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005785/1.626, allocations: 5.652 MB / 0.8285 GB, free: 44.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.627, allocations: 0.5879 MB / 0.829 GB, free: 43.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004655/1.627, allocations: 91.97 kB / 0.8291 GB, free: 43.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.629, allocations: 160.6 kB / 0.8293 GB, free: 43.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/1.629, allocations: 271.9 kB / 0.8295 GB, free: 43.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.63, allocations: 120 kB / 0.8297 GB, free: 43.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004707/1.634, allocations: 3.577 MB / 0.8331 GB, free: 39.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/1.634, allocations: 0 / 0.8331 GB, free: 39.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007558/1.642, allocations: 1.405 MB / 0.8345 GB, free: 38.27 MB / 0.5294 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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004727/1.642, allocations: 266.7 kB / 0.8348 GB, free: 38.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008529/1.651, allocations: 6.015 MB / 0.8407 GB, free: 32.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/1.651, allocations: 8 kB / 0.8407 GB, free: 32.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.653, allocations: 1.383 MB / 0.842 GB, free: 30.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0275/1.68, allocations: 0.7371 MB / 0.8427 GB, free: 29.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/1.709, allocations: 17.87 MB / 0.8602 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006738/1.716, allocations: 4.752 MB / 0.8648 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006357/1.722, allocations: 2.583 MB / 0.8673 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000965/1.723, allocations: 383.4 kB / 0.8677 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/1.723, allocations: 0 / 0.8677 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.08581/1.809, allocations: 44.36 MB / 0.911 GB, free: 7.688 MB / 0.5763 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches