Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 110.3 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2637/0.2637, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1473, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02185/0.1692, allocations: 17.63 MB / 0.5051 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.1849, allocations: 5.212 MB / 0.5102 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005703/0.1907, allocations: 103.8 kB / 0.5103 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.2028, allocations: 5.245 MB / 0.5154 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.2135, allocations: 2.812 MB / 0.5182 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00449/0.218, allocations: 1.19 MB / 0.5193 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.2321, allocations: 7.032 MB / 0.5262 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3758/0.608, allocations: 6.542 MB / 0.5326 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007481/0.6155, allocations: 2.783 MB / 0.5353 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009206/0.6248, allocations: 3.996 MB / 0.5392 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003909/0.6287, allocations: 0.6247 MB / 0.5398 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005582/0.6343, allocations: 1.326 MB / 0.5411 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007383/0.6417, allocations: 3.523 MB / 0.5446 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01204/0.6538, allocations: 4.006 MB / 0.5485 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01996/0.6738, allocations: 12.23 MB / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.6738, allocations: 0 / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6738, allocations: 0 / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005787/0.6744, allocations: 5.781 kB / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02784/0.7022, allocations: 8.19 MB / 0.5684 GB, free: 11.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/0.7023, allocations: 13.08 kB / 0.5684 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/0.7158, allocations: 2.724 MB / 0.5711 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.7283, allocations: 4.007 MB / 0.575 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004218/0.7288, allocations: 456.5 kB / 0.5754 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002898/0.7317, allocations: 0.5952 MB / 0.576 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05071/0.7824, allocations: 21.21 MB / 0.5967 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000262/0.7827, allocations: 75.02 kB / 0.5968 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/0.784, allocations: 282.6 kB / 0.5971 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006515/0.7905, allocations: 3.549 MB / 0.6005 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04535/0.8359, allocations: 17.19 MB / 0.6173 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/0.9447, allocations: 67.51 MB / 0.6833 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01903/0.9638, allocations: 6.681 MB / 0.6898 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004077/0.9679, allocations: 2.34 MB / 0.6921 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01664/0.9845, allocations: 9.77 MB / 0.7016 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.9846, allocations: 67.19 kB / 0.7017 GB, free: 8.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 6.482e-06/0.9847, allocations: 0 / 0.7017 GB, free: 8.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.06131/1.046, allocations: 22.76 MB / 0.7239 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.046, allocations: 165.7 kB / 0.7241 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009451/1.056, allocations: 6.026 MB / 0.7299 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009424/1.057, allocations: 77.7 kB / 0.73 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004501/1.061, allocations: 5.182 MB / 0.7351 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002059/1.063, allocations: 1.256 MB / 0.7363 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002987/1.066, allocations: 1.936 MB / 0.7382 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.066, allocations: 305.1 kB / 0.7385 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/1.071, allocations: 2.85 MB / 0.7413 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009057/1.08, allocations: 8.671 MB / 0.7497 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3718/1.452, allocations: 12.51 MB / 0.762 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002301/1.452, allocations: 59.69 kB / 0.762 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.03244/1.485, allocations: 11.25 MB / 0.773 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/1.485, allocations: 94.94 kB / 0.7731 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004731/1.485, allocations: 205.9 kB / 0.7733 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/1.486, allocations: 273.7 kB / 0.7735 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0093/1.495, allocations: 2.356 MB / 0.7758 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000538/1.496, allocations: 410.7 kB / 0.7762 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008775/1.505, allocations: 475.8 kB / 0.7767 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/1.507, allocations: 0.5787 MB / 0.7773 GB, free: 185.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1267): * Single equations (assignments): 1264 * 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.008359/1.515, allocations: 3.398 MB / 0.7806 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.516, allocations: 0.541 MB / 0.7811 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/1.523, allocations: 3.448 MB / 0.7845 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.884e-05/1.523, allocations: 35.12 kB / 0.7845 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/1.523, allocations: 0 / 0.7845 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.457e-05/1.523, allocations: 22.84 kB / 0.7845 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02539/1.548, allocations: 13.75 MB / 0.798 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/1.548, allocations: 32 kB / 0.798 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.55, allocations: 0.6119 MB / 0.7986 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-05/1.55, allocations: 48 kB / 0.7986 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/1.551, allocations: 100.8 kB / 0.7987 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.163e-05/1.551, allocations: 71.48 kB / 0.7988 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.559e-05/1.551, allocations: 47.81 kB / 0.7988 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00706/1.558, allocations: 6.313 MB / 0.805 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002315/1.56, allocations: 0.8446 MB / 0.8058 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000897/1.561, allocations: 103.6 kB / 0.8059 GB, free: 169 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/1.563, allocations: 143.8 kB / 0.8061 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/1.564, allocations: 304.1 kB / 0.8064 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.564, allocations: 134.9 kB / 0.8065 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00682/1.571, allocations: 3.748 MB / 0.8101 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.764e-06/1.571, allocations: 0 / 0.8101 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009763/1.58, allocations: 1.566 MB / 0.8117 GB, free: 163.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * 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.0008223/1.581, allocations: 283.3 kB / 0.8119 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.592, allocations: 6.591 MB / 0.8184 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-05/1.593, allocations: 4.438 kB / 0.8184 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0027/1.595, allocations: 1.567 MB / 0.8199 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006397/1.602, allocations: 0.7943 MB / 0.8207 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/1.632, allocations: 15.62 MB / 0.836 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00775/1.639, allocations: 5.142 MB / 0.841 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006766/1.646, allocations: 2.754 MB / 0.8437 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.648, allocations: 419.4 kB / 0.8441 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.814e-06/1.648, allocations: 0 / 0.8441 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.08388/1.732, allocations: 45.36 MB / 0.8884 GB, free: 88.09 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches