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.001619/0.001619, allocations: 106.3 kB / 17.98 MB, free: 5.391 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.002011/0.002011, allocations: 193.3 kB / 18.9 MB, free: 4.469 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.343/1.343, allocations: 222.9 MB / 242.6 MB, free: 15.38 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.2/0.2, allocations: 44.18 MB / 336.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.11 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3068/0.4174, allocations: 86.32 MB / 0.5427 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04082/0.4583, allocations: 16.45 MB / 0.5587 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01955/0.4779, allocations: 366.6 kB / 0.5591 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009727/0.4876, allocations: 5.019 MB / 0.564 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007715/0.4954, allocations: 2.378 MB / 0.5663 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.4985, allocations: 1.1 MB / 0.5674 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009881/0.5084, allocations: 6.68 MB / 0.5739 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.519, allocations: 6.763 MB / 0.5805 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005911/0.525, allocations: 2.672 MB / 0.5831 GB, free: 28 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006398/0.5314, allocations: 4.094 MB / 0.5871 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002566/0.534, allocations: 0.5859 MB / 0.5877 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004439/0.5385, allocations: 1.311 MB / 0.589 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006176/0.5447, allocations: 3.371 MB / 0.5923 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008078/0.5528, allocations: 3.818 MB / 0.596 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.5657, allocations: 9.086 MB / 0.6049 GB, free: 9.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5658, allocations: 4 kB / 0.6049 GB, free: 9.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5658, allocations: 0 / 0.6049 GB, free: 9.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000567/0.5664, allocations: 4 kB / 0.6049 GB, free: 9.691 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.02032/0.5867, allocations: 7.798 MB / 0.6125 GB, free: 1.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5868, allocations: 8.031 kB / 0.6125 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.598, allocations: 2.659 MB / 0.6151 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008819/0.6069, allocations: 3.673 MB / 0.6187 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005944/0.6075, allocations: 439.7 kB / 0.6191 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/0.6098, allocations: 0.5582 MB / 0.6196 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04504/0.6549, allocations: 20.28 MB / 0.6395 GB, free: 4.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/0.6552, allocations: 67.34 kB / 0.6395 GB, free: 4.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001919/0.6571, allocations: 275.8 kB / 0.6398 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005465/0.6626, allocations: 3.337 MB / 0.643 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03791/0.7006, allocations: 16.28 MB / 0.6589 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4867/1.187, allocations: 65.31 MB / 0.7227 GB, free: 147 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/1.205, allocations: 6.286 MB / 0.7289 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003079/1.208, allocations: 2.051 MB / 0.7309 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01308/1.221, allocations: 9.139 MB / 0.7398 GB, free: 142 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/1.221, allocations: 63.19 kB / 0.7398 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 6.222e-06/1.221, allocations: 0 / 0.7398 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05411/1.275, allocations: 21.29 MB / 0.7606 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/1.275, allocations: 162.5 kB / 0.7608 GB, free: 132 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009186/1.284, allocations: 5.844 MB / 0.7665 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004545/1.285, allocations: 65.7 kB / 0.7666 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002494/1.287, allocations: 4.965 MB / 0.7714 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.288, allocations: 1.112 MB / 0.7725 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003292/1.292, allocations: 1.833 MB / 0.7743 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/1.292, allocations: 311 kB / 0.7746 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/1.296, allocations: 2.62 MB / 0.7771 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/1.302, allocations: 8.244 MB / 0.7852 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.312, allocations: 11.81 MB / 0.7967 GB, free: 90.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/1.312, allocations: 56 kB / 0.7968 GB, free: 90.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01634/1.329, allocations: 10.57 MB / 0.8071 GB, free: 79.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.329, allocations: 88 kB / 0.8072 GB, free: 79.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.329, allocations: 200 kB / 0.8074 GB, free: 79.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/1.329, allocations: 264.8 kB / 0.8076 GB, free: 78.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006051/1.335, allocations: 2.219 MB / 0.8098 GB, free: 76.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001967/1.335, allocations: 394.5 kB / 0.8102 GB, free: 76.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006146/1.342, allocations: 447.4 kB / 0.8106 GB, free: 75.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.343, allocations: 0.5508 MB / 0.8111 GB, free: 75.39 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.004785/1.347, allocations: 3.241 MB / 0.8143 GB, free: 72.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009246/1.348, allocations: 0.5128 MB / 0.8148 GB, free: 71.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/1.353, allocations: 2.956 MB / 0.8177 GB, free: 68.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/1.353, allocations: 32 kB / 0.8177 GB, free: 68.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.353, allocations: 0 / 0.8177 GB, free: 68.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/1.353, allocations: 15.95 kB / 0.8177 GB, free: 68.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.371, allocations: 12.44 MB / 0.8299 GB, free: 55.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.628e-05/1.371, allocations: 32 kB / 0.8299 GB, free: 55.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.372, allocations: 0.5309 MB / 0.8304 GB, free: 55.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.108e-05/1.373, allocations: 55.98 kB / 0.8305 GB, free: 55.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/1.373, allocations: 95.22 kB / 0.8306 GB, free: 54.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-05/1.373, allocations: 70.09 kB / 0.8306 GB, free: 54.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/1.373, allocations: 47.81 kB / 0.8307 GB, free: 54.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005297/1.378, allocations: 5.542 MB / 0.8361 GB, free: 48.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/1.38, allocations: 0.584 MB / 0.8367 GB, free: 48.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007577/1.38, allocations: 95.91 kB / 0.8368 GB, free: 48.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.382, allocations: 131.9 kB / 0.8369 GB, free: 47.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/1.383, allocations: 264 kB / 0.8371 GB, free: 47.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/1.383, allocations: 131.6 kB / 0.8373 GB, free: 47.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004848/1.388, allocations: 3.626 MB / 0.8408 GB, free: 43.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.388, allocations: 0 / 0.8408 GB, free: 43.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007284/1.395, allocations: 1.468 MB / 0.8422 GB, free: 42.48 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.0005689/1.396, allocations: 263.7 kB / 0.8425 GB, free: 42.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009745/1.405, allocations: 6.567 MB / 0.8489 GB, free: 35.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.471e-05/1.405, allocations: 4 kB / 0.8489 GB, free: 35.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.407, allocations: 1.349 MB / 0.8502 GB, free: 34.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004829/1.412, allocations: 0.7822 MB / 0.851 GB, free: 33.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/1.435, allocations: 18.82 MB / 0.8694 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004972/1.44, allocations: 4.886 MB / 0.8741 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.441, allocations: 443.4 kB / 0.8746 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/1.441, allocations: 0 / 0.8746 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.3272/1.768, allocations: 84.96 MB / 0.9575 GB, free: 178.6 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/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