Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009961/0.0009959, allocations: 95.52 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 45.9 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 63.48 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3592/0.5189, allocations: 74.03 MB / 0.5424 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04905/0.568, allocations: 16.65 MB / 0.5587 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02436/0.5924, allocations: 362 kB / 0.559 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01522/0.6076, allocations: 3.716 MB / 0.5626 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04099/0.6487, allocations: 10.42 MB / 0.5728 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006224/0.6549, allocations: 1.077 MB / 0.5739 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009146/0.6641, allocations: 3.855 MB / 0.5776 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.6773, allocations: 8.336 MB / 0.5858 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.6816, allocations: 1.666 MB / 0.5874 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/0.686, allocations: 2.368 MB / 0.5897 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001739/0.6878, allocations: 256 kB / 0.5899 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.6907, allocations: 0.8349 MB / 0.5908 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004035/0.6948, allocations: 2.677 MB / 0.5934 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.6974, allocations: 1.353 MB / 0.5947 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.7091, allocations: 8.814 MB / 0.6033 GB, free: 10.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.7092, allocations: 4 kB / 0.6033 GB, free: 10.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.7092, allocations: 0 / 0.6033 GB, free: 10.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004769/0.7097, allocations: 0 / 0.6033 GB, free: 10.54 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: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.01524/0.7249, allocations: 6.515 MB / 0.6097 GB, free: 3.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.725, allocations: 8.031 kB / 0.6097 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.7375, allocations: 3.204 MB / 0.6128 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009039/0.7466, allocations: 3.835 MB / 0.6166 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004107/0.747, allocations: 443.1 kB / 0.617 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/0.7492, allocations: 0.5544 MB / 0.6175 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04461/0.7939, allocations: 20.61 MB / 0.6376 GB, free: 6.062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.7942, allocations: 71.25 kB / 0.6377 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009103/0.7951, allocations: 275.8 kB / 0.638 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005474/0.8006, allocations: 3.341 MB / 0.6412 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04469/0.8453, allocations: 16.67 MB / 0.6575 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6364/1.482, allocations: 67.92 MB / 0.7238 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04084/1.523, allocations: 14.25 MB / 0.7378 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02156/1.544, allocations: 13.96 MB / 0.7514 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03463/1.579, allocations: 12.26 MB / 0.7634 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=264): time 4.97e-06/1.579, allocations: 0 / 0.7634 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=298): time 0.1003/1.679, allocations: 40.79 MB / 0.8032 GB, free: 81.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/1.679, allocations: 158.5 kB / 0.8034 GB, free: 81.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007817/1.687, allocations: 6.176 MB / 0.8094 GB, free: 75.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007728/1.688, allocations: 74.88 kB / 0.8095 GB, free: 74.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003638/1.692, allocations: 5.059 MB / 0.8144 GB, free: 69.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.693, allocations: 1.142 MB / 0.8155 GB, free: 68.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005636/1.694, allocations: 185.3 kB / 0.8157 GB, free: 68.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003984/1.694, allocations: 0.6987 MB / 0.8164 GB, free: 67.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004401/1.698, allocations: 3.056 MB / 0.8194 GB, free: 64.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006548/1.705, allocations: 8.632 MB / 0.8278 GB, free: 53.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/1.712, allocations: 4.96 MB / 0.8326 GB, free: 48.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.712, allocations: 56 kB / 0.8327 GB, free: 48.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.01887/1.731, allocations: 11.61 MB / 0.844 GB, free: 37.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.731, allocations: 121.7 kB / 0.8441 GB, free: 36.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/1.731, allocations: 203.9 kB / 0.8443 GB, free: 36.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007229/1.732, allocations: 0.5166 MB / 0.8448 GB, free: 36.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007092/1.739, allocations: 2.297 MB / 0.8471 GB, free: 33.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/1.742, allocations: 2.697 MB / 0.8497 GB, free: 31.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006977/1.749, allocations: 0.554 MB / 0.8503 GB, free: 30.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002163/1.751, allocations: 0.5537 MB / 0.8508 GB, free: 29.99 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1185): * Single equations (assignments): 1180 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007747/1.758, allocations: 3.23 MB / 0.854 GB, free: 26.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/1.76, allocations: 0.522 MB / 0.8545 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007258/1.767, allocations: 4.012 MB / 0.8584 GB, free: 22.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/1.767, allocations: 33.41 kB / 0.8584 GB, free: 22.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.767, allocations: 0 / 0.8584 GB, free: 22.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/1.767, allocations: 15.94 kB / 0.8584 GB, free: 22.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/1.791, allocations: 12.49 MB / 0.8706 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/1.791, allocations: 28 kB / 0.8707 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/1.794, allocations: 0.644 MB / 0.8713 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.554e-05/1.794, allocations: 44 kB / 0.8713 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/1.794, allocations: 84.86 kB / 0.8714 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.74e-05/1.794, allocations: 51.8 kB / 0.8715 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-05/1.794, allocations: 47.77 kB / 0.8715 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008868/1.803, allocations: 10.79 MB / 0.882 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.805, allocations: 0.5995 MB / 0.8826 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007564/1.805, allocations: 87.98 kB / 0.8827 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/1.808, allocations: 197.2 kB / 0.8829 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003725/1.808, allocations: 261.6 kB / 0.8831 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.808, allocations: 116.6 kB / 0.8833 GB, free: 10.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00776/1.816, allocations: 3.873 MB / 0.887 GB, free: 6.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.31e-07/1.816, allocations: 0 / 0.887 GB, free: 6.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009671/1.826, allocations: 1.512 MB / 0.8885 GB, free: 5.301 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 122 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 275 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008936/1.827, allocations: 274.9 kB / 0.8888 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01434/1.841, allocations: 6.855 MB / 0.8955 GB, free: 14.19 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.074e-05/1.841, allocations: 11.94 kB / 0.8955 GB, free: 14.18 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.845, allocations: 1.747 MB / 0.8972 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004033/1.849, allocations: 0.7097 MB / 0.8979 GB, free: 11.73 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/1.877, allocations: 17.6 MB / 0.9151 GB, free: 9.719 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007223/1.884, allocations: 5.039 MB / 0.92 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007235/1.891, allocations: 2.653 MB / 0.9226 GB, free: 1.992 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.892, allocations: 391.4 kB / 0.923 GB, free: 1.609 MB / 0.5763 GB Notification: Performance of SimCode: time 1.443e-06/1.892, allocations: 4 kB / 0.923 GB, free: 1.605 MB / 0.5763 GB Notification: Performance of Templates: time 0.3484/2.241, allocations: 48.87 MB / 0.9707 GB, free: 189.3 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches