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.001273/0.001273, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 71.89 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3982, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02036/0.4186, allocations: 16.08 MB / 0.5467 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.4346, allocations: 4.985 MB / 0.5516 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004961/0.4396, allocations: 99.75 kB / 0.5517 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.4514, allocations: 5.163 MB / 0.5567 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00996/0.4615, allocations: 2.458 MB / 0.5591 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.4663, allocations: 1.182 MB / 0.5603 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01451/0.4809, allocations: 6.663 MB / 0.5668 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.4919, allocations: 6.334 MB / 0.573 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005974/0.4979, allocations: 2.594 MB / 0.5755 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006963/0.5049, allocations: 3.665 MB / 0.5791 GB, free: 300 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002934/0.5079, allocations: 0.5743 MB / 0.5796 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004994/0.5129, allocations: 1.268 MB / 0.5809 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006821/0.5198, allocations: 3.223 MB / 0.584 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01063/0.5305, allocations: 3.659 MB / 0.5876 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.5497, allocations: 11.09 MB / 0.5984 GB, free: 12.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.5498, allocations: 0 / 0.5984 GB, free: 12.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5498, allocations: 0 / 0.5984 GB, free: 12.4 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005932/0.5504, allocations: 0 / 0.5984 GB, free: 12.4 MB / 462.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.02384/0.5742, allocations: 7.567 MB / 0.6058 GB, free: 4.758 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.5743, allocations: 8.031 kB / 0.6058 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.5865, allocations: 2.593 MB / 0.6084 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.5994, allocations: 3.576 MB / 0.6119 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009547/0.6004, allocations: 443.2 kB / 0.6123 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003401/0.6039, allocations: 0.554 MB / 0.6128 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05105/0.6549, allocations: 19.75 MB / 0.6321 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004799/0.6555, allocations: 67.34 kB / 0.6322 GB, free: 8.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002532/0.658, allocations: 267.8 kB / 0.6324 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00616/0.6642, allocations: 3.149 MB / 0.6355 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04288/0.7071, allocations: 15.86 MB / 0.651 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09066/0.7978, allocations: 63.74 MB / 0.7132 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3225/1.12, allocations: 6.32 MB / 0.7194 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/1.124, allocations: 2.086 MB / 0.7214 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/1.138, allocations: 9.184 MB / 0.7304 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.138, allocations: 61.97 kB / 0.7305 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=257): time 4.418e-06/1.138, allocations: 2.094 kB / 0.7305 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291): time 0.05569/1.194, allocations: 21.38 MB / 0.7513 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/1.194, allocations: 162.5 kB / 0.7515 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006705/1.2, allocations: 5.755 MB / 0.7571 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004914/1.201, allocations: 69.7 kB / 0.7572 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/1.203, allocations: 4.832 MB / 0.7619 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009144/1.204, allocations: 1.109 MB / 0.763 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/1.206, allocations: 1.821 MB / 0.7648 GB, free: 133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.14e-05/1.206, allocations: 301.1 kB / 0.7651 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/1.209, allocations: 2.638 MB / 0.7676 GB, free: 130 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005296/1.214, allocations: 8.196 MB / 0.7756 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.225, allocations: 11.76 MB / 0.7871 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001828/1.226, allocations: 60 kB / 0.7872 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01949/1.245, allocations: 10.53 MB / 0.7975 GB, free: 94.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/1.245, allocations: 92.03 kB / 0.7976 GB, free: 93.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002893/1.246, allocations: 196 kB / 0.7977 GB, free: 93.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/1.246, allocations: 260 kB / 0.798 GB, free: 93.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007277/1.253, allocations: 2.215 MB / 0.8002 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003564/1.254, allocations: 386.5 kB / 0.8005 GB, free: 90.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006549/1.26, allocations: 459.5 kB / 0.801 GB, free: 90.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001872/1.262, allocations: 0.543 MB / 0.8015 GB, free: 89.9 MB / 0.5606 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.008952/1.271, allocations: 3.147 MB / 0.8046 GB, free: 86.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.272, allocations: 0.509 MB / 0.8051 GB, free: 86.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006022/1.278, allocations: 2.987 MB / 0.808 GB, free: 83.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/1.278, allocations: 35.94 kB / 0.808 GB, free: 83.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.278, allocations: 0 / 0.808 GB, free: 83.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/1.279, allocations: 15.95 kB / 0.808 GB, free: 83.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/1.303, allocations: 12.25 MB / 0.82 GB, free: 70.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.359e-05/1.303, allocations: 28 kB / 0.82 GB, free: 70.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/1.305, allocations: 0.5544 MB / 0.8206 GB, free: 69.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.478e-05/1.305, allocations: 44 kB / 0.8206 GB, free: 69.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000319/1.305, allocations: 87.05 kB / 0.8207 GB, free: 69.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.085e-05/1.305, allocations: 64.66 kB / 0.8207 GB, free: 69.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.079e-05/1.305, allocations: 55.73 kB / 0.8208 GB, free: 69.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007124/1.312, allocations: 5.616 MB / 0.8263 GB, free: 63.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/1.314, allocations: 0.5822 MB / 0.8268 GB, free: 62.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/1.316, allocations: 91.97 kB / 0.8269 GB, free: 62.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0028/1.318, allocations: 135.9 kB / 0.8271 GB, free: 62.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/1.319, allocations: 275.9 kB / 0.8273 GB, free: 62.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.319, allocations: 123.6 kB / 0.8274 GB, free: 62.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007322/1.326, allocations: 3.577 MB / 0.8309 GB, free: 58.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/1.326, allocations: 0 / 0.8309 GB, free: 58.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01199/1.338, allocations: 1.405 MB / 0.8323 GB, free: 57.31 MB / 0.5606 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.001418/1.34, allocations: 263.2 kB / 0.8326 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.35, allocations: 6.078 MB / 0.8385 GB, free: 51.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.822e-05/1.35, allocations: 4 kB / 0.8385 GB, free: 51.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/1.352, allocations: 1.369 MB / 0.8398 GB, free: 49.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006491/1.359, allocations: 0.7514 MB / 0.8406 GB, free: 48.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/1.385, allocations: 14.26 MB / 0.8545 GB, free: 34.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007939/1.393, allocations: 4.752 MB / 0.8591 GB, free: 29.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006555/1.4, allocations: 2.575 MB / 0.8617 GB, free: 26.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/1.401, allocations: 383.3 kB / 0.862 GB, free: 26.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.693e-06/1.401, allocations: 0 / 0.862 GB, free: 26.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.08542/1.487, allocations: 40.85 MB / 0.9019 GB, free: 1.953 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