Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001212/0.001212, allocations: 100.2 kB / 16.26 MB, free: 5.93 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.001341/0.001341, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2246/0.2246, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 70.67 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1418, allocations: 57.8 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0183/0.1601, allocations: 17.62 MB / 458.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.1757, allocations: 5.204 MB / 463.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005218/0.1809, allocations: 107.8 kB / 463.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.1922, allocations: 5.237 MB / 468.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009999/0.2023, allocations: 2.734 MB / 471.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.2059, allocations: 1.186 MB / 472.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01391/0.2198, allocations: 7.032 MB / 479.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01264/0.2325, allocations: 6.551 MB / 486.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007011/0.2396, allocations: 2.777 MB / 489 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007513/0.2471, allocations: 4 MB / 493 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002917/0.2501, allocations: 0.625 MB / 493.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005721/0.2558, allocations: 1.315 MB / 494.9 MB, free: 292 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006969/0.2628, allocations: 3.511 MB / 498.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01126/0.2741, allocations: 4.012 MB / 0.4907 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01812/0.2923, allocations: 11.8 MB / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2923, allocations: 3.938 kB / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2923, allocations: 0 / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005481/0.2929, allocations: 4 kB / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02643/0.3193, allocations: 8.191 MB / 0.5102 GB, free: 4.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.3194, allocations: 11.89 kB / 0.5102 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.3323, allocations: 2.721 MB / 0.5129 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.3438, allocations: 3.947 MB / 0.5167 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005862/0.3445, allocations: 460 kB / 0.5171 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003336/0.3478, allocations: 0.5932 MB / 0.5177 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4512/0.7991, allocations: 21.21 MB / 0.5384 GB, free: 77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000221/0.7993, allocations: 74.03 kB / 0.5385 GB, free: 76.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.8004, allocations: 287 kB / 0.5388 GB, free: 76.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005561/0.806, allocations: 3.543 MB / 0.5422 GB, free: 76.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0403/0.8463, allocations: 17.2 MB / 0.559 GB, free: 68.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07676/0.9231, allocations: 67.84 MB / 0.6253 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/0.9423, allocations: 6.675 MB / 0.6318 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004217/0.9466, allocations: 2.286 MB / 0.634 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01884/0.9655, allocations: 9.792 MB / 0.6436 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/0.9656, allocations: 64.5 kB / 0.6437 GB, free: 12.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=296): time 6.733e-06/0.9656, allocations: 0 / 0.6437 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=330): time 0.06509/1.031, allocations: 22.76 MB / 0.6659 GB, free: 5.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.031, allocations: 162.7 kB / 0.666 GB, free: 5.441 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009233/1.04, allocations: 6.037 MB / 0.6719 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006283/1.041, allocations: 73.7 kB / 0.672 GB, free: 15.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003825/1.045, allocations: 5.191 MB / 0.6771 GB, free: 10.05 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001694/1.046, allocations: 1.245 MB / 0.6783 GB, free: 8.785 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00258/1.049, allocations: 1.932 MB / 0.6802 GB, free: 6.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/1.049, allocations: 301.1 kB / 0.6805 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004959/1.054, allocations: 2.858 MB / 0.6833 GB, free: 3.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009745/1.064, allocations: 8.671 MB / 0.6917 GB, free: 8.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/1.082, allocations: 12.52 MB / 0.704 GB, free: 8.711 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002058/1.082, allocations: 56 kB / 0.704 GB, free: 8.656 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02717/1.109, allocations: 11.27 MB / 0.715 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/1.109, allocations: 92 kB / 0.7151 GB, free: 13.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002875/1.109, allocations: 204 kB / 0.7153 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/1.11, allocations: 280 kB / 0.7156 GB, free: 12.78 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008313/1.118, allocations: 2.359 MB / 0.7179 GB, free: 10.41 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003108/1.118, allocations: 414.3 kB / 0.7183 GB, free: 10.01 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007581/1.126, allocations: 471.5 kB / 0.7187 GB, free: 9.547 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.128, allocations: 0.5781 MB / 0.7193 GB, free: 8.969 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1267): * Single equations (assignments): 1264 * 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.007811/1.135, allocations: 3.386 MB / 0.7226 GB, free: 5.566 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.137, allocations: 0.5437 MB / 0.7231 GB, free: 5.016 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006514/1.143, allocations: 3.452 MB / 0.7265 GB, free: 1.512 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-05/1.143, allocations: 32 kB / 0.7265 GB, free: 1.48 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.143, allocations: 11.92 kB / 0.7265 GB, free: 1.469 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.809e-05/1.143, allocations: 15.95 kB / 0.7265 GB, free: 1.453 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2616/1.405, allocations: 13.77 MB / 0.74 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.184e-05/1.405, allocations: 36.34 kB / 0.74 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/1.408, allocations: 0.6117 MB / 0.7406 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.78e-05/1.408, allocations: 46.66 kB / 0.7407 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/1.408, allocations: 104.4 kB / 0.7408 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-05/1.408, allocations: 70.44 kB / 0.7408 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.515e-05/1.408, allocations: 49.06 kB / 0.7409 GB, free: 167.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008487/1.417, allocations: 6.31 MB / 0.747 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/1.419, allocations: 0.8388 MB / 0.7479 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008611/1.42, allocations: 102.7 kB / 0.748 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.422, allocations: 144.5 kB / 0.7481 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/1.423, allocations: 306.7 kB / 0.7484 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.423, allocations: 131.8 kB / 0.7485 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005978/1.429, allocations: 3.749 MB / 0.7522 GB, free: 162 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.6e-07/1.429, allocations: 0 / 0.7522 GB, free: 162 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009588/1.438, allocations: 1.565 MB / 0.7537 GB, free: 161.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * 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.0008606/1.439, allocations: 286.9 kB / 0.754 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01524/1.455, allocations: 7.459 MB / 0.7613 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-05/1.455, allocations: 5.219 kB / 0.7613 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/1.458, allocations: 1.571 MB / 0.7628 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005992/1.464, allocations: 0.7917 MB / 0.7636 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02947/1.493, allocations: 15.81 MB / 0.779 GB, free: 145 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006793/1.5, allocations: 5.142 MB / 0.784 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006949/1.507, allocations: 2.754 MB / 0.7867 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.508, allocations: 419.4 kB / 0.7871 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.903e-06/1.508, allocations: 0 / 0.7871 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.08791/1.596, allocations: 50.98 MB / 0.8369 GB, free: 86.92 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches