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.001594/0.001594, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001969/0.001969, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.548/1.548, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2137/0.2137, allocations: 44.18 MB / 336.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 64.14 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1394, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3525/0.492, allocations: 86.32 MB / 0.5425 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04861/0.5406, allocations: 16.55 MB / 0.5586 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02598/0.5667, allocations: 364.9 kB / 0.559 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0115/0.5782, allocations: 5.208 MB / 0.5641 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008407/0.5867, allocations: 2.41 MB / 0.5664 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.59, allocations: 1.077 MB / 0.5675 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01325/0.6033, allocations: 9.718 MB / 0.577 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.6144, allocations: 6.406 MB / 0.5832 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005467/0.6199, allocations: 2.367 MB / 0.5855 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007458/0.6274, allocations: 3.976 MB / 0.5894 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002737/0.6302, allocations: 460 kB / 0.5899 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004904/0.6351, allocations: 1.225 MB / 0.5911 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005956/0.6411, allocations: 3.234 MB / 0.5942 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008374/0.6495, allocations: 3.662 MB / 0.5978 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.6616, allocations: 8.993 MB / 0.6066 GB, free: 7.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.6617, allocations: 0 / 0.6066 GB, free: 7.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6617, allocations: 0 / 0.6066 GB, free: 7.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005158/0.6622, allocations: 4 kB / 0.6066 GB, free: 7.875 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.02225/0.6845, allocations: 7.798 MB / 0.6142 GB, free: 15.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.6846, allocations: 8.031 kB / 0.6142 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.6962, allocations: 2.662 MB / 0.6168 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008767/0.705, allocations: 3.662 MB / 0.6204 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.7054, allocations: 451.6 kB / 0.6208 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/0.7076, allocations: 0.5621 MB / 0.6214 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04303/0.7507, allocations: 20.27 MB / 0.6411 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002335/0.751, allocations: 71.34 kB / 0.6412 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.7521, allocations: 271.8 kB / 0.6415 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005405/0.7575, allocations: 3.341 MB / 0.6447 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03804/0.7955, allocations: 16.28 MB / 0.6606 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5434/1.339, allocations: 65.32 MB / 0.7244 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/1.357, allocations: 6.29 MB / 0.7306 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/1.36, allocations: 2.048 MB / 0.7326 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/1.374, allocations: 9.129 MB / 0.7415 GB, free: 142 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/1.375, allocations: 71 kB / 0.7415 GB, free: 142 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.4e-06/1.375, allocations: 0 / 0.7415 GB, free: 142 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05475/1.429, allocations: 21.29 MB / 0.7623 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.429, allocations: 158 kB / 0.7625 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008218/1.438, allocations: 5.847 MB / 0.7682 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005526/1.438, allocations: 69.7 kB / 0.7683 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002715/1.441, allocations: 4.955 MB / 0.7731 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.442, allocations: 1.119 MB / 0.7742 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002508/1.445, allocations: 1.835 MB / 0.776 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/1.445, allocations: 301.1 kB / 0.7763 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003738/1.449, allocations: 2.628 MB / 0.7788 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006246/1.455, allocations: 8.246 MB / 0.7869 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.466, allocations: 11.81 MB / 0.7984 GB, free: 89.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/1.466, allocations: 56 kB / 0.7985 GB, free: 89.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.0185/1.484, allocations: 10.57 MB / 0.8088 GB, free: 79.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.485, allocations: 90.81 kB / 0.8089 GB, free: 79.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002713/1.485, allocations: 203.9 kB / 0.8091 GB, free: 78.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/1.485, allocations: 264 kB / 0.8093 GB, free: 78.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00694/1.492, allocations: 2.215 MB / 0.8115 GB, free: 76.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002586/1.492, allocations: 390.5 kB / 0.8119 GB, free: 75.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007368/1.5, allocations: 451.4 kB / 0.8123 GB, free: 75.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.501, allocations: 0.5469 MB / 0.8128 GB, free: 75 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.005268/1.506, allocations: 3.237 MB / 0.816 GB, free: 71.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009737/1.507, allocations: 0.5144 MB / 0.8165 GB, free: 71.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/1.512, allocations: 2.96 MB / 0.8194 GB, free: 68.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/1.512, allocations: 35.94 kB / 0.8194 GB, free: 68.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.512, allocations: 3.938 kB / 0.8194 GB, free: 68.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/1.512, allocations: 15.95 kB / 0.8194 GB, free: 68.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.531, allocations: 12.44 MB / 0.8316 GB, free: 55.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.65e-05/1.531, allocations: 32 kB / 0.8316 GB, free: 55.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.533, allocations: 0.5271 MB / 0.8321 GB, free: 54.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-05/1.533, allocations: 44 kB / 0.8322 GB, free: 54.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/1.533, allocations: 95.98 kB / 0.8323 GB, free: 54.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.433e-05/1.533, allocations: 67.72 kB / 0.8323 GB, free: 54.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.346e-05/1.533, allocations: 55.38 kB / 0.8324 GB, free: 54.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005605/1.539, allocations: 5.546 MB / 0.8378 GB, free: 48.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.54, allocations: 0.5879 MB / 0.8384 GB, free: 47.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007227/1.541, allocations: 87.97 kB / 0.8385 GB, free: 47.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.543, allocations: 131.9 kB / 0.8386 GB, free: 47.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/1.543, allocations: 272.4 kB / 0.8388 GB, free: 47.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.544, allocations: 116 kB / 0.839 GB, free: 47.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005118/1.549, allocations: 3.626 MB / 0.8425 GB, free: 43.56 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.92e-07/1.549, allocations: 0 / 0.8425 GB, free: 43.56 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008555/1.557, allocations: 1.466 MB / 0.8439 GB, free: 42.1 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.0007034/1.558, allocations: 282.6 kB / 0.8442 GB, free: 41.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009111/1.567, allocations: 5.963 MB / 0.85 GB, free: 35.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-05/1.567, allocations: 8 kB / 0.85 GB, free: 35.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/1.569, allocations: 1.341 MB / 0.8513 GB, free: 34.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/1.574, allocations: 0.7527 MB / 0.8521 GB, free: 33.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/1.599, allocations: 18.83 MB / 0.8705 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00495/1.604, allocations: 4.882 MB / 0.8752 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.605, allocations: 455.4 kB / 0.8757 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/1.605, allocations: 0 / 0.8757 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of Templates: time 0.3627/1.968, allocations: 84.93 MB / 0.9586 GB, free: 178.3 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