Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001158/0.001158, allocations: 94.03 kB / 16.99 MB, free: 6.398 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.001031/0.001031, allocations: 186 kB / 17.88 MB, free: 5.93 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.559/1.559, allocations: 223.2 MB / 241.9 MB, free: 336 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.2358/0.2358, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 61.92 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3535/0.5066, allocations: 78.35 MB / 0.537 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04861/0.5552, allocations: 15.81 MB / 0.5525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02476/0.5801, allocations: 362.2 kB / 0.5528 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01696/0.5971, allocations: 4.146 MB / 0.5569 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04613/0.6433, allocations: 11.96 MB / 0.5686 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007333/0.6506, allocations: 1.069 MB / 0.5696 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.6629, allocations: 7.734 MB / 0.5771 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0157/0.6786, allocations: 8.398 MB / 0.5853 GB, free: 36 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/0.6845, allocations: 2.04 MB / 0.5873 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006722/0.6912, allocations: 3.326 MB / 0.5906 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002263/0.6935, allocations: 256 kB / 0.5908 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.6978, allocations: 0.8817 MB / 0.5917 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006342/0.7041, allocations: 2.875 MB / 0.5945 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004209/0.7084, allocations: 1.345 MB / 0.5958 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.7222, allocations: 8.787 MB / 0.6044 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7222, allocations: 0 / 0.6044 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7223, allocations: 4 kB / 0.6044 GB, free: 12.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005629/0.7228, allocations: 0 / 0.6044 GB, free: 12.46 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01673/0.7396, allocations: 6.39 MB / 0.6106 GB, free: 5.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.7396, allocations: 12.03 kB / 0.6107 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.7504, allocations: 2.716 MB / 0.6133 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008212/0.7586, allocations: 3.607 MB / 0.6168 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005185/0.7591, allocations: 443.1 kB / 0.6172 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002387/0.7616, allocations: 0.5582 MB / 0.6178 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04843/0.81, allocations: 20.28 MB / 0.6376 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003997/0.8104, allocations: 63.41 kB / 0.6377 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00226/0.8127, allocations: 279.8 kB / 0.6379 GB, free: 8.816 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005755/0.8185, allocations: 3.341 MB / 0.6412 GB, free: 5.473 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0403/0.8588, allocations: 16.27 MB / 0.6571 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.711/1.57, allocations: 65.27 MB / 0.7208 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0185/1.588, allocations: 6.301 MB / 0.727 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003684/1.592, allocations: 2.051 MB / 0.729 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/1.607, allocations: 9.136 MB / 0.7379 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.764e-05/1.607, allocations: 63.28 kB / 0.738 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.851e-06/1.607, allocations: 0 / 0.738 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05161/1.658, allocations: 21.34 MB / 0.7588 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/1.659, allocations: 157.8 kB / 0.759 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007186/1.666, allocations: 5.814 MB / 0.7646 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005162/1.666, allocations: 65.7 kB / 0.7647 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002625/1.669, allocations: 4.961 MB / 0.7695 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.67, allocations: 1.112 MB / 0.7706 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004581/1.671, allocations: 184 kB / 0.7708 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004507/1.671, allocations: 0.6987 MB / 0.7715 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/1.675, allocations: 2.59 MB / 0.774 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006042/1.681, allocations: 8.212 MB / 0.782 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006736/1.688, allocations: 4.471 MB / 0.7864 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/1.688, allocations: 60 kB / 0.7865 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02064/1.709, allocations: 10.5 MB / 0.7967 GB, free: 91.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/1.709, allocations: 92 kB / 0.7968 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003499/1.709, allocations: 200 kB / 0.797 GB, free: 91.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/1.71, allocations: 296 kB / 0.7973 GB, free: 90.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006971/1.717, allocations: 2.207 MB / 0.7994 GB, free: 88.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/1.717, allocations: 398.6 kB / 0.7998 GB, free: 88.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006373/1.723, allocations: 451.4 kB / 0.8002 GB, free: 87.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/1.725, allocations: 0.5501 MB / 0.8008 GB, free: 87.29 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: 78 (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 (1192): * Single equations (assignments): 1189 * Array equations: 3 * Algorithm blocks: 0 * 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.006465/1.731, allocations: 3.234 MB / 0.8039 GB, free: 84.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.732, allocations: 0.5168 MB / 0.8044 GB, free: 83.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005389/1.738, allocations: 2.953 MB / 0.8073 GB, free: 80.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.238e-05/1.738, allocations: 31.95 kB / 0.8073 GB, free: 80.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.738, allocations: 4 kB / 0.8074 GB, free: 80.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/1.738, allocations: 15.94 kB / 0.8074 GB, free: 80.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/1.759, allocations: 12.45 MB / 0.8195 GB, free: 67.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.879e-05/1.759, allocations: 32 kB / 0.8196 GB, free: 67.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.761, allocations: 0.5382 MB / 0.8201 GB, free: 67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/1.761, allocations: 48.47 kB / 0.8201 GB, free: 66.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/1.761, allocations: 93.23 kB / 0.8202 GB, free: 66.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.756e-05/1.761, allocations: 67.78 kB / 0.8203 GB, free: 66.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-05/1.761, allocations: 43.81 kB / 0.8203 GB, free: 66.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/1.767, allocations: 5.536 MB / 0.8257 GB, free: 60.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/1.769, allocations: 0.5918 MB / 0.8263 GB, free: 60.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.771, allocations: 95.97 kB / 0.8264 GB, free: 59.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/1.773, allocations: 139.9 kB / 0.8265 GB, free: 59.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/1.774, allocations: 264 kB / 0.8268 GB, free: 59.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.774, allocations: 131.8 kB / 0.8269 GB, free: 59.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006491/1.781, allocations: 3.595 MB / 0.8304 GB, free: 55.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.21e-07/1.781, allocations: 0 / 0.8304 GB, free: 55.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008502/1.789, allocations: 1.466 MB / 0.8319 GB, free: 54.39 MB / 0.5294 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 (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.0006929/1.79, allocations: 263.2 kB / 0.8321 GB, free: 54.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009027/1.799, allocations: 5.922 MB / 0.8379 GB, free: 48.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-05/1.799, allocations: 4.062 kB / 0.8379 GB, free: 48.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.801, allocations: 1.339 MB / 0.8392 GB, free: 46.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005256/1.806, allocations: 0.7555 MB / 0.8399 GB, free: 46.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/1.834, allocations: 17.52 MB / 0.857 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008828/1.843, allocations: 4.882 MB / 0.8618 GB, free: 23.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007729/1.851, allocations: 2.607 MB / 0.8644 GB, free: 20.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.852, allocations: 387.4 kB / 0.8647 GB, free: 20.28 MB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/1.852, allocations: 0 / 0.8647 GB, free: 20.28 MB / 0.5294 GB Notification: Performance of Templates: time 0.09161/1.944, allocations: 44.47 MB / 0.9082 GB, free: 8.051 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches