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.001294/0.001294, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 72.67 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1419, allocations: 62.45 MB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01697/0.1589, allocations: 16.07 MB / 496.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.1714, allocations: 4.997 MB / 0.4893 GB, free: 148 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004794/0.1763, allocations: 99.75 kB / 0.4894 GB, free: 48 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.1869, allocations: 5.163 MB / 0.4945 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008733/0.1956, allocations: 2.454 MB / 0.4969 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.1991, allocations: 1.189 MB / 0.498 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01224/0.2114, allocations: 6.662 MB / 0.5045 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3342/0.5457, allocations: 6.334 MB / 0.5107 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007708/0.5534, allocations: 2.581 MB / 0.5133 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.5638, allocations: 3.664 MB / 0.5168 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004367/0.5682, allocations: 0.5754 MB / 0.5174 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006835/0.5751, allocations: 1.274 MB / 0.5186 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007344/0.5825, allocations: 3.206 MB / 0.5218 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.5925, allocations: 3.657 MB / 0.5253 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.6102, allocations: 10.71 MB / 0.5358 GB, free: 4.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.6103, allocations: 2.781 kB / 0.5358 GB, free: 4.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6103, allocations: 0 / 0.5358 GB, free: 4.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000604/0.6109, allocations: 0 / 0.5358 GB, free: 4.184 MB / 382.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.02317/0.6341, allocations: 7.588 MB / 0.5432 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6341, allocations: 9.625 kB / 0.5432 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.6465, allocations: 2.586 MB / 0.5457 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009956/0.6564, allocations: 3.524 MB / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.6569, allocations: 438.2 kB / 0.5496 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/0.6596, allocations: 0.5497 MB / 0.5501 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04981/0.7095, allocations: 19.75 MB / 0.5694 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002133/0.7097, allocations: 68.89 kB / 0.5695 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009118/0.7106, allocations: 269.7 kB / 0.5698 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005211/0.7159, allocations: 3.15 MB / 0.5728 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04169/0.7576, allocations: 15.85 MB / 0.5883 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/0.8589, allocations: 64.02 MB / 0.6508 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.019/0.8779, allocations: 6.323 MB / 0.657 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00408/0.8821, allocations: 2.046 MB / 0.659 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/0.9003, allocations: 9.177 MB / 0.668 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.165e-05/0.9004, allocations: 64.56 kB / 0.668 GB, free: 132 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=257): time 5.811e-06/0.9004, allocations: 3.938 kB / 0.668 GB, free: 128 kB / 0.4981 GB Notification: Performance of matching and sorting (n=291): time 0.06565/0.9661, allocations: 21.38 MB / 0.6889 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.9662, allocations: 157.5 kB / 0.6891 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/0.9767, allocations: 5.748 MB / 0.6947 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005513/0.9773, allocations: 69.7 kB / 0.6947 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003941/0.9813, allocations: 4.837 MB / 0.6995 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.9826, allocations: 1.113 MB / 0.7006 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002978/0.9856, allocations: 1.817 MB / 0.7023 GB, free: 12.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9857, allocations: 301.1 kB / 0.7026 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004197/0.99, allocations: 2.642 MB / 0.7052 GB, free: 10.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2523/1.242, allocations: 8.195 MB / 0.7132 GB, free: 181.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.256, allocations: 11.75 MB / 0.7247 GB, free: 173.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001743/1.256, allocations: 55.81 kB / 0.7247 GB, free: 173.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02536/1.282, allocations: 10.54 MB / 0.735 GB, free: 169.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/1.282, allocations: 89.75 kB / 0.7351 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005031/1.283, allocations: 200.8 kB / 0.7353 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/1.283, allocations: 265 kB / 0.7356 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007998/1.291, allocations: 2.208 MB / 0.7377 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005008/1.292, allocations: 390 kB / 0.7381 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007829/1.299, allocations: 457.7 kB / 0.7385 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001851/1.301, allocations: 0.546 MB / 0.739 GB, free: 168.7 MB / 0.545 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.006764/1.308, allocations: 3.149 MB / 0.7421 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.309, allocations: 0.5068 MB / 0.7426 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004836/1.314, allocations: 2.993 MB / 0.7455 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/1.314, allocations: 30.53 kB / 0.7456 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.314, allocations: 0 / 0.7456 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/1.314, allocations: 12.52 kB / 0.7456 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/1.334, allocations: 12.28 MB / 0.7576 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-05/1.334, allocations: 32 kB / 0.7576 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.336, allocations: 0.5444 MB / 0.7581 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.124e-05/1.336, allocations: 48 kB / 0.7582 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.336, allocations: 97.64 kB / 0.7583 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.278e-05/1.336, allocations: 63.12 kB / 0.7583 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.957e-05/1.336, allocations: 50.34 kB / 0.7584 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/1.342, allocations: 5.608 MB / 0.7639 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.343, allocations: 0.5824 MB / 0.7644 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/1.344, allocations: 96.22 kB / 0.7645 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.346, allocations: 141.1 kB / 0.7647 GB, free: 153.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/1.347, allocations: 277.5 kB / 0.7649 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/1.347, allocations: 115.7 kB / 0.765 GB, free: 153.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005694/1.352, allocations: 3.577 MB / 0.7685 GB, free: 150.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/1.352, allocations: 0 / 0.7685 GB, free: 150.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009138/1.362, allocations: 1.411 MB / 0.7699 GB, free: 149.2 MB / 0.545 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.0006802/1.362, allocations: 261.7 kB / 0.7701 GB, free: 148.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.374, allocations: 6.579 MB / 0.7766 GB, free: 143.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.081e-05/1.374, allocations: 8 kB / 0.7766 GB, free: 143.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/1.376, allocations: 1.371 MB / 0.7779 GB, free: 141.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/1.382, allocations: 0.7514 MB / 0.7787 GB, free: 141.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/1.406, allocations: 14.44 MB / 0.7928 GB, free: 127.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005929/1.412, allocations: 4.752 MB / 0.7974 GB, free: 122.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006212/1.418, allocations: 2.575 MB / 0.7999 GB, free: 119.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.419, allocations: 391.3 kB / 0.8003 GB, free: 119.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.813e-06/1.419, allocations: 0 / 0.8003 GB, free: 119.5 MB / 0.545 GB Notification: Performance of Templates: time 0.08774/1.507, allocations: 46.53 MB / 0.8457 GB, free: 73.21 MB / 0.545 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