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.001073/0.001073, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 79.36 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.09998, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.015/0.115, allocations: 16.07 MB / 497.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00934/0.1244, allocations: 4.993 MB / 0.4907 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.1261, allocations: 95.75 kB / 0.4908 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008065/0.1342, allocations: 5.167 MB / 0.4959 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.1392, allocations: 2.462 MB / 0.4983 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.1413, allocations: 1.182 MB / 0.4994 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1921/0.3334, allocations: 6.665 MB / 0.5059 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009377/0.3428, allocations: 6.332 MB / 0.5121 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004754/0.3476, allocations: 2.588 MB / 0.5146 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006072/0.3537, allocations: 3.662 MB / 0.5182 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002762/0.3565, allocations: 0.572 MB / 0.5188 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.3604, allocations: 1.277 MB / 0.52 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004911/0.3653, allocations: 3.205 MB / 0.5232 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007099/0.3724, allocations: 3.655 MB / 0.5267 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.3836, allocations: 11.09 MB / 0.5376 GB, free: 4.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3836, allocations: 0 / 0.5376 GB, free: 4.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3836, allocations: 0 / 0.5376 GB, free: 4.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003239/0.384, allocations: 3.125 kB / 0.5376 GB, free: 4.082 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.01412/0.3981, allocations: 7.572 MB / 0.545 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.3982, allocations: 12.92 kB / 0.545 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009723/0.4079, allocations: 2.586 MB / 0.5475 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008055/0.416, allocations: 3.591 MB / 0.551 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.4163, allocations: 438.8 kB / 0.5514 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.4174, allocations: 0.545 MB / 0.5519 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03661/0.4541, allocations: 19.75 MB / 0.5712 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.4543, allocations: 74.48 kB / 0.5713 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000642/0.4549, allocations: 266.8 kB / 0.5716 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004616/0.4595, allocations: 3.156 MB / 0.5746 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03419/0.4937, allocations: 15.85 MB / 0.5901 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07193/0.5657, allocations: 63.72 MB / 0.6524 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01652/0.5823, allocations: 6.333 MB / 0.6585 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/0.5853, allocations: 2.042 MB / 0.6605 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/0.5992, allocations: 9.173 MB / 0.6695 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.5993, allocations: 63.84 kB / 0.6696 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=257): time 4.278e-06/0.5993, allocations: 0 / 0.6696 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=291): time 0.05351/0.6528, allocations: 21.38 MB / 0.6904 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.6529, allocations: 158.5 kB / 0.6906 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007302/0.6602, allocations: 5.748 MB / 0.6962 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.6605, allocations: 69.7 kB / 0.6963 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003233/0.6638, allocations: 4.836 MB / 0.701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.6649, allocations: 1.111 MB / 0.7021 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002164/0.667, allocations: 1.813 MB / 0.7038 GB, free: 12.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.6671, allocations: 301.1 kB / 0.7041 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004117/0.6713, allocations: 2.642 MB / 0.7067 GB, free: 9.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1908/0.862, allocations: 8.193 MB / 0.7147 GB, free: 181.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.8738, allocations: 11.77 MB / 0.7262 GB, free: 172.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/0.874, allocations: 55.38 kB / 0.7263 GB, free: 172.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01792/0.8919, allocations: 10.54 MB / 0.7365 GB, free: 168.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.8921, allocations: 90.12 kB / 0.7366 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/0.8923, allocations: 196.6 kB / 0.7368 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.8926, allocations: 265 kB / 0.7371 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006259/0.8989, allocations: 2.208 MB / 0.7392 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002554/0.8992, allocations: 390 kB / 0.7396 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/0.904, allocations: 457.6 kB / 0.74 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005266/0.9045, allocations: 0.5363 MB / 0.7406 GB, free: 168.2 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.003777/0.9083, allocations: 3.143 MB / 0.7436 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/0.9089, allocations: 0.5092 MB / 0.7441 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/0.913, allocations: 2.993 MB / 0.7471 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.913, allocations: 35.05 kB / 0.7471 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.9131, allocations: 7.031 kB / 0.7471 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.9131, allocations: 11.67 kB / 0.7471 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.9284, allocations: 12.26 MB / 0.7591 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/0.9284, allocations: 32.03 kB / 0.7591 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.9302, allocations: 0.5477 MB / 0.7596 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.719e-05/0.9302, allocations: 44 kB / 0.7597 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.9303, allocations: 97.72 kB / 0.7598 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.931e-05/0.9304, allocations: 63.59 kB / 0.7598 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.837e-05/0.9304, allocations: 51.56 kB / 0.7599 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.9354, allocations: 5.605 MB / 0.7654 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.9365, allocations: 0.5821 MB / 0.7659 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004805/0.937, allocations: 100.5 kB / 0.766 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/0.9387, allocations: 134.8 kB / 0.7662 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.9389, allocations: 276.2 kB / 0.7664 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.9391, allocations: 119.7 kB / 0.7665 GB, free: 153.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00421/0.9433, allocations: 3.575 MB / 0.77 GB, free: 150.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9433, allocations: 0 / 0.77 GB, free: 150.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006785/0.9501, allocations: 1.406 MB / 0.7714 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.0004942/0.9506, allocations: 261.6 kB / 0.7716 GB, free: 149 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008298/0.9589, allocations: 6.066 MB / 0.7776 GB, free: 143.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/0.959, allocations: 4 kB / 0.7776 GB, free: 143.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.9606, allocations: 1.375 MB / 0.7789 GB, free: 142.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/0.9642, allocations: 0.7522 MB / 0.7796 GB, free: 141.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/0.9868, allocations: 14.27 MB / 0.7936 GB, free: 127.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00477/0.9916, allocations: 4.756 MB / 0.7982 GB, free: 123.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007605/0.9992, allocations: 2.579 MB / 0.8007 GB, free: 120.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1, allocations: 379.4 kB / 0.8011 GB, free: 120.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/1, allocations: 0 / 0.8011 GB, free: 120.2 MB / 0.545 GB Notification: Performance of Templates: time 0.06891/1.069, allocations: 38.31 MB / 0.8385 GB, free: 82.25 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches