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.001585/0.001585, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001851/0.001852, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.369/1.369, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 70.17 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01651/0.1288, allocations: 16.39 MB / 486.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1416, allocations: 5.024 MB / 491.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.1452, allocations: 99.75 kB / 491.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009815/0.1551, allocations: 5.198 MB / 496.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008107/0.1632, allocations: 2.563 MB / 499.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.1666, allocations: 1.178 MB / 0.4887 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.1771, allocations: 6.651 MB / 0.4952 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.1894, allocations: 6.398 MB / 0.5014 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006147/0.1956, allocations: 2.637 MB / 0.504 GB, free: 16 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2385/0.4342, allocations: 3.725 MB / 0.5076 GB, free: 18.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003743/0.438, allocations: 0.5847 MB / 0.5082 GB, free: 18.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00627/0.4443, allocations: 1.304 MB / 0.5095 GB, free: 18.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006891/0.4512, allocations: 3.314 MB / 0.5127 GB, free: 18.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01289/0.4641, allocations: 3.78 MB / 0.5164 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01891/0.483, allocations: 11.09 MB / 0.5272 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.4831, allocations: 0.5625 kB / 0.5272 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4831, allocations: 0 / 0.5272 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006211/0.4838, allocations: 0.75 kB / 0.5272 GB, free: 14.38 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02401/0.5078, allocations: 7.8 MB / 0.5348 GB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5078, allocations: 11.06 kB / 0.5348 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.5197, allocations: 2.662 MB / 0.5374 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009132/0.5289, allocations: 3.67 MB / 0.541 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/0.5293, allocations: 442.9 kB / 0.5415 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/0.5318, allocations: 0.5561 MB / 0.542 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04856/0.5804, allocations: 20.27 MB / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004323/0.5809, allocations: 74.02 kB / 0.5619 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002559/0.5835, allocations: 271.9 kB / 0.5621 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006142/0.5896, allocations: 3.334 MB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04262/0.6323, allocations: 16.29 MB / 0.5813 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09997/0.7323, allocations: 65.32 MB / 0.6451 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/0.7513, allocations: 6.28 MB / 0.6512 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004157/0.7555, allocations: 2.056 MB / 0.6532 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01974/0.7753, allocations: 9.133 MB / 0.6621 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/0.7754, allocations: 67.94 kB / 0.6622 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=257): time 6.642e-06/0.7754, allocations: 0 / 0.6622 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=291): time 0.06791/0.8434, allocations: 21.3 MB / 0.683 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.8435, allocations: 163.4 kB / 0.6832 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01333/0.8569, allocations: 5.841 MB / 0.6889 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006349/0.8575, allocations: 65.7 kB / 0.6889 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004614/0.8622, allocations: 4.959 MB / 0.6938 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001771/0.864, allocations: 1.113 MB / 0.6949 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005782/0.8698, allocations: 1.836 MB / 0.6967 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.87, allocations: 301.1 kB / 0.6969 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006633/0.8766, allocations: 2.622 MB / 0.6995 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2594/1.136, allocations: 8.24 MB / 0.7075 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01544/1.152, allocations: 11.81 MB / 0.7191 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004151/1.152, allocations: 56.53 kB / 0.7191 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02505/1.177, allocations: 10.57 MB / 0.7295 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/1.177, allocations: 94.41 kB / 0.7296 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002806/1.178, allocations: 197.7 kB / 0.7297 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/1.178, allocations: 264.2 kB / 0.73 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007577/1.185, allocations: 2.221 MB / 0.7322 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003531/1.186, allocations: 387.9 kB / 0.7325 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007431/1.193, allocations: 445.9 kB / 0.733 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/1.195, allocations: 0.5585 MB / 0.7335 GB, free: 162.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00738/1.203, allocations: 3.224 MB / 0.7366 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.204, allocations: 0.5152 MB / 0.7372 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005533/1.209, allocations: 2.968 MB / 0.7401 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/1.209, allocations: 28.25 kB / 0.7401 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.209, allocations: 3.688 kB / 0.7401 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.12e-05/1.209, allocations: 16.83 kB / 0.7401 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/1.232, allocations: 12.43 MB / 0.7522 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/1.232, allocations: 32 kB / 0.7523 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/1.234, allocations: 0.5302 MB / 0.7528 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.553e-05/1.234, allocations: 44 kB / 0.7528 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/1.235, allocations: 96.72 kB / 0.7529 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.734e-05/1.235, allocations: 63.81 kB / 0.753 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-05/1.235, allocations: 56.53 kB / 0.753 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006207/1.241, allocations: 5.535 MB / 0.7584 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.242, allocations: 0.5858 MB / 0.759 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009999/1.244, allocations: 96.34 kB / 0.7591 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.246, allocations: 130.3 kB / 0.7592 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.246, allocations: 278.5 kB / 0.7595 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.246, allocations: 119.8 kB / 0.7596 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007043/1.253, allocations: 3.624 MB / 0.7631 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/1.254, allocations: 0 / 0.7631 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01056/1.264, allocations: 1.464 MB / 0.7646 GB, free: 139.7 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 (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.0008192/1.265, allocations: 271.2 kB / 0.7648 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.276, allocations: 6.564 MB / 0.7712 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.376e-05/1.276, allocations: 4.188 kB / 0.7713 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/1.278, allocations: 1.344 MB / 0.7726 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004699/1.283, allocations: 0.7946 MB / 0.7733 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/1.306, allocations: 15.47 MB / 0.7885 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00591/1.312, allocations: 4.882 MB / 0.7932 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.314, allocations: 451.4 kB / 0.7936 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of SimCode: time 9.21e-07/1.314, allocations: 0 / 0.7936 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1058/1.42, allocations: 84.94 MB / 0.8766 GB, free: 26.34 MB / 0.5294 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/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_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches