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.0009606/0.0009607, allocations: 101.1 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.0008933/0.0008934, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.401/1.401, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2282/0.2282, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 8.562 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 61.91 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3298/0.4495, allocations: 73.96 MB / 0.5326 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04737/0.4969, allocations: 16.59 MB / 0.5488 GB, free: 500 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02252/0.5195, allocations: 365 kB / 0.5492 GB, free: 444 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01641/0.536, allocations: 3.712 MB / 0.5528 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04375/0.5797, allocations: 10.42 MB / 0.563 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006659/0.5864, allocations: 1.065 MB / 0.564 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009263/0.5957, allocations: 3.715 MB / 0.5676 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01366/0.6094, allocations: 8.345 MB / 0.5758 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/0.6135, allocations: 1.651 MB / 0.5774 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004971/0.6185, allocations: 2.348 MB / 0.5797 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.6204, allocations: 256 kB / 0.5799 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.6232, allocations: 0.8506 MB / 0.5808 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003207/0.6264, allocations: 2.673 MB / 0.5834 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.6287, allocations: 1.349 MB / 0.5847 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.6405, allocations: 8.799 MB / 0.5933 GB, free: 6.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6405, allocations: 0 / 0.5933 GB, free: 6.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6405, allocations: 0 / 0.5933 GB, free: 6.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004452/0.6409, allocations: 0 / 0.5933 GB, free: 6.855 MB / 430.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.01527/0.6562, allocations: 6.414 MB / 0.5996 GB, free: 368 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6563, allocations: 8.031 kB / 0.5996 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.6688, allocations: 3.208 MB / 0.6027 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.6788, allocations: 3.815 MB / 0.6064 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004796/0.6793, allocations: 447.1 kB / 0.6068 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002385/0.6817, allocations: 0.5621 MB / 0.6074 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04458/0.7263, allocations: 20.5 MB / 0.6274 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002409/0.7266, allocations: 71.41 kB / 0.6275 GB, free: 2.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/0.7278, allocations: 271.7 kB / 0.6277 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005232/0.733, allocations: 3.337 MB / 0.631 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04015/0.7732, allocations: 16.53 MB / 0.6471 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.655/1.428, allocations: 67.86 MB / 0.7134 GB, free: 146 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04171/1.47, allocations: 14.09 MB / 0.7272 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01958/1.49, allocations: 13.84 MB / 0.7407 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/1.49, allocations: 59.61 kB / 0.7407 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=261): time 5.381e-06/1.49, allocations: 0 / 0.7407 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=295): time 0.09689/1.587, allocations: 39.85 MB / 0.7797 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/1.587, allocations: 158.5 kB / 0.7798 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007002/1.594, allocations: 6.166 MB / 0.7858 GB, free: 99.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006514/1.594, allocations: 73.7 kB / 0.7859 GB, free: 99.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.597, allocations: 4.95 MB / 0.7907 GB, free: 94.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001645/1.599, allocations: 1.134 MB / 0.7918 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/1.6, allocations: 185.2 kB / 0.792 GB, free: 92.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005001/1.6, allocations: 0.6969 MB / 0.7927 GB, free: 92.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/1.605, allocations: 2.97 MB / 0.7956 GB, free: 89.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007073/1.612, allocations: 8.544 MB / 0.8039 GB, free: 78.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007971/1.62, allocations: 4.844 MB / 0.8087 GB, free: 73.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.62, allocations: 56 kB / 0.8087 GB, free: 73.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.02399/1.644, allocations: 11.42 MB / 0.8199 GB, free: 62.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000212/1.645, allocations: 92 kB / 0.82 GB, free: 62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003156/1.645, allocations: 196 kB / 0.8202 GB, free: 61.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008545/1.646, allocations: 0.5245 MB / 0.8207 GB, free: 61.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008082/1.654, allocations: 2.257 MB / 0.8229 GB, free: 59.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/1.656, allocations: 2.716 MB / 0.8255 GB, free: 56.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/1.663, allocations: 0.5072 MB / 0.826 GB, free: 55.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.665, allocations: 0.5508 MB / 0.8266 GB, free: 55.11 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 (1181): * Single equations (assignments): 1177 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00589/1.671, allocations: 3.226 MB / 0.8297 GB, free: 51.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.672, allocations: 0.5206 MB / 0.8302 GB, free: 51.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00574/1.678, allocations: 3.855 MB / 0.834 GB, free: 47.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/1.678, allocations: 28 kB / 0.834 GB, free: 47.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/1.678, allocations: 4 kB / 0.834 GB, free: 47.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/1.678, allocations: 15.94 kB / 0.834 GB, free: 47.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/1.699, allocations: 12.4 MB / 0.8461 GB, free: 34.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/1.699, allocations: 24 kB / 0.8462 GB, free: 34.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/1.701, allocations: 0.5621 MB / 0.8467 GB, free: 34.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-05/1.701, allocations: 44 kB / 0.8468 GB, free: 33.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.701, allocations: 84.47 kB / 0.8468 GB, free: 33.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.299e-05/1.701, allocations: 59.78 kB / 0.8469 GB, free: 33.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.323e-05/1.701, allocations: 40.91 kB / 0.8469 GB, free: 33.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007907/1.709, allocations: 10.73 MB / 0.8574 GB, free: 21.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/1.711, allocations: 0.5918 MB / 0.858 GB, free: 20.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.712, allocations: 92.55 kB / 0.8581 GB, free: 20.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/1.715, allocations: 155.8 kB / 0.8582 GB, free: 20.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/1.716, allocations: 261.8 kB / 0.8585 GB, free: 20.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/1.716, allocations: 116 kB / 0.8586 GB, free: 20.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005926/1.722, allocations: 3.861 MB / 0.8624 GB, free: 16.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.052e-06/1.722, allocations: 0 / 0.8624 GB, free: 16.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00872/1.73, allocations: 1.514 MB / 0.8638 GB, free: 14.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 122 * 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 (277): * Single equations (assignments): 274 * 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.000663/1.731, allocations: 276 kB / 0.8641 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.741, allocations: 6.639 MB / 0.8706 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.982e-05/1.741, allocations: 4 kB / 0.8706 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/1.743, allocations: 1.472 MB / 0.872 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/1.747, allocations: 0.7062 MB / 0.8727 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/1.775, allocations: 17.55 MB / 0.8899 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009402/1.784, allocations: 5.023 MB / 0.8948 GB, free: 14.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008223/1.792, allocations: 2.65 MB / 0.8973 GB, free: 12.14 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/1.794, allocations: 391.4 kB / 0.8977 GB, free: 11.76 MB / 0.5607 GB Notification: Performance of SimCode: time 1.252e-06/1.794, allocations: 0 / 0.8977 GB, free: 11.76 MB / 0.5607 GB Notification: Performance of Templates: time 0.3623/2.156, allocations: 48.44 MB / 0.945 GB, free: 213.6 MB / 0.5763 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches