Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 98.47 kB / 17 MB, free: 6.402 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.001771/0.001772, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 44.26 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 11.98 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3628/0.5092, allocations: 78.4 MB / 0.5371 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04412/0.5533, allocations: 15.85 MB / 0.5526 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02902/0.5824, allocations: 368.3 kB / 0.5529 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01611/0.5985, allocations: 4.145 MB / 0.557 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03931/0.6379, allocations: 11.97 MB / 0.5687 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008682/0.6466, allocations: 1.077 MB / 0.5697 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01379/0.6604, allocations: 7.767 MB / 0.5773 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01555/0.676, allocations: 8.425 MB / 0.5855 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/0.6812, allocations: 2.055 MB / 0.5875 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005982/0.6872, allocations: 3.349 MB / 0.5908 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002028/0.6892, allocations: 256 kB / 0.5911 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.6927, allocations: 0.8778 MB / 0.5919 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0045/0.6972, allocations: 2.883 MB / 0.5947 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.7002, allocations: 1.349 MB / 0.596 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.7128, allocations: 8.814 MB / 0.6047 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.7128, allocations: 0 / 0.6047 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7129, allocations: 0 / 0.6047 GB, free: 12.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005679/0.7134, allocations: 0 / 0.6047 GB, free: 12.23 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.01768/0.7311, allocations: 6.487 MB / 0.611 GB, free: 5.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.7312, allocations: 8.031 kB / 0.611 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.7424, allocations: 2.72 MB / 0.6137 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009524/0.7519, allocations: 3.619 MB / 0.6172 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005612/0.7525, allocations: 443.1 kB / 0.6176 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00256/0.7551, allocations: 0.5583 MB / 0.6182 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04814/0.8033, allocations: 20.33 MB / 0.638 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005082/0.8038, allocations: 83.3 kB / 0.6381 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003419/0.8073, allocations: 271.7 kB / 0.6384 GB, free: 8.398 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00627/0.8136, allocations: 3.341 MB / 0.6416 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04204/0.8556, allocations: 16.35 MB / 0.6576 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6346/1.49, allocations: 65.36 MB / 0.7214 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01966/1.51, allocations: 6.391 MB / 0.7276 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004237/1.514, allocations: 2.1 MB / 0.7297 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/1.531, allocations: 9.174 MB / 0.7387 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0123/1.543, allocations: 4.181 MB / 0.7427 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=260): time 4.959e-06/1.543, allocations: 0 / 0.7427 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294): time 0.05275/1.596, allocations: 21.62 MB / 0.7639 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/1.596, allocations: 166.4 kB / 0.764 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006964/1.603, allocations: 5.819 MB / 0.7697 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00057/1.603, allocations: 73.7 kB / 0.7698 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003563/1.607, allocations: 5.052 MB / 0.7747 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.608, allocations: 1.131 MB / 0.7758 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/1.609, allocations: 192 kB / 0.776 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003834/1.609, allocations: 0.6991 MB / 0.7767 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004147/1.613, allocations: 2.638 MB / 0.7792 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006101/1.62, allocations: 8.256 MB / 0.7873 GB, free: 101 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007123/1.627, allocations: 4.551 MB / 0.7918 GB, free: 96.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/1.627, allocations: 59.94 kB / 0.7918 GB, free: 96.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.02116/1.648, allocations: 10.63 MB / 0.8022 GB, free: 86.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/1.648, allocations: 117.7 kB / 0.8023 GB, free: 85.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002544/1.649, allocations: 196 kB / 0.8025 GB, free: 85.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/1.649, allocations: 296 kB / 0.8028 GB, free: 85.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006835/1.656, allocations: 2.235 MB / 0.805 GB, free: 83.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002295/1.656, allocations: 394.5 kB / 0.8053 GB, free: 82.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006527/1.662, allocations: 464.3 kB / 0.8058 GB, free: 82.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.664, allocations: 0.5545 MB / 0.8063 GB, free: 81.81 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 (1196): * Single equations (assignments): 1192 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005503/1.669, allocations: 3.242 MB / 0.8095 GB, free: 78.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007762/1.67, allocations: 0.5168 MB / 0.81 GB, free: 78.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/1.675, allocations: 3.045 MB / 0.813 GB, free: 74.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/1.675, allocations: 31.95 kB / 0.813 GB, free: 74.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.675, allocations: 11.06 kB / 0.813 GB, free: 74.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/1.675, allocations: 15.89 kB / 0.813 GB, free: 74.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/1.692, allocations: 12.48 MB / 0.8252 GB, free: 61.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/1.692, allocations: 32 kB / 0.8252 GB, free: 61.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.694, allocations: 0.5973 MB / 0.8258 GB, free: 61.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.382e-05/1.694, allocations: 52 kB / 0.8259 GB, free: 61.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/1.694, allocations: 92.61 kB / 0.826 GB, free: 61.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.12e-05/1.694, allocations: 63.73 kB / 0.826 GB, free: 61.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.143e-05/1.694, allocations: 51.8 kB / 0.8261 GB, free: 61.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005852/1.7, allocations: 5.458 MB / 0.8314 GB, free: 55.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/1.701, allocations: 0.5878 MB / 0.832 GB, free: 54.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007185/1.702, allocations: 95.97 kB / 0.8321 GB, free: 54.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.704, allocations: 159.9 kB / 0.8322 GB, free: 54.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.704, allocations: 276.9 kB / 0.8325 GB, free: 53.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.705, allocations: 125.2 kB / 0.8326 GB, free: 53.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005969/1.71, allocations: 3.611 MB / 0.8361 GB, free: 50.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.21e-07/1.711, allocations: 0 / 0.8361 GB, free: 50.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008465/1.719, allocations: 1.472 MB / 0.8376 GB, free: 48.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (278): * Single equations (assignments): 273 * 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.0007091/1.72, allocations: 274 kB / 0.8378 GB, free: 48.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009239/1.729, allocations: 6.065 MB / 0.8437 GB, free: 42.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-05/1.729, allocations: 4.75 kB / 0.8437 GB, free: 42.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.732, allocations: 1.648 MB / 0.8454 GB, free: 40.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.736, allocations: 0.7746 MB / 0.8461 GB, free: 40 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.758, allocations: 17.54 MB / 0.8632 GB, free: 22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005743/1.763, allocations: 4.887 MB / 0.868 GB, free: 17.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00659/1.77, allocations: 2.607 MB / 0.8706 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000952/1.771, allocations: 391.4 kB / 0.8709 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/1.771, allocations: 0 / 0.8709 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.09048/1.861, allocations: 45.16 MB / 0.915 GB, free: 1.184 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches