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.00162/0.00162, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001769/0.001769, allocations: 187 kB / 19.34 MB, free: 3.641 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.422/1.422, allocations: 222.9 MB / 243 MB, free: 15.16 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.2076/0.2076, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 60.31 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01937/0.1275, allocations: 16.4 MB / 487.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.1395, allocations: 5.024 MB / 492.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.1427, allocations: 99.75 kB / 492.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009845/0.1526, allocations: 5.194 MB / 497.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.1595, allocations: 2.563 MB / 500 MB, free: 280 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.1624, allocations: 1.182 MB / 0.4894 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009647/0.1721, allocations: 6.673 MB / 0.4959 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008237/0.1804, allocations: 6.383 MB / 0.5022 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.264/0.4445, allocations: 2.643 MB / 0.5047 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008917/0.4534, allocations: 3.725 MB / 0.5084 GB, free: 17.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003278/0.4567, allocations: 0.5836 MB / 0.509 GB, free: 17.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006088/0.4629, allocations: 1.302 MB / 0.5102 GB, free: 17.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007108/0.47, allocations: 3.313 MB / 0.5135 GB, free: 17.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007845/0.4779, allocations: 3.789 MB / 0.5172 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.4912, allocations: 11.48 MB / 0.5284 GB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4912, allocations: 0 / 0.5284 GB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4913, allocations: 0.5312 kB / 0.5284 GB, free: 12.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003662/0.4916, allocations: 0 / 0.5284 GB, free: 12.94 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.01694/0.5086, allocations: 7.801 MB / 0.536 GB, free: 7.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.5086, allocations: 10.38 kB / 0.536 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00927/0.5179, allocations: 2.66 MB / 0.5386 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008038/0.526, allocations: 3.734 MB / 0.5423 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.5263, allocations: 441.7 kB / 0.5427 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.5279, allocations: 0.5544 MB / 0.5432 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04041/0.5683, allocations: 20.28 MB / 0.563 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002858/0.5687, allocations: 65.09 kB / 0.5631 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008995/0.5696, allocations: 277.6 kB / 0.5633 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00514/0.5747, allocations: 3.338 MB / 0.5666 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0373/0.6121, allocations: 16.28 MB / 0.5825 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0818/0.6939, allocations: 65 MB / 0.646 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/0.7106, allocations: 6.292 MB / 0.6521 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/0.7137, allocations: 2.046 MB / 0.6541 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01562/0.7293, allocations: 9.128 MB / 0.663 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.7294, allocations: 68.55 kB / 0.6631 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=257): time 5.621e-06/0.7294, allocations: 0 / 0.6631 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=291): time 0.05812/0.7876, allocations: 21.29 MB / 0.6839 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/0.7877, allocations: 161.5 kB / 0.6841 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009634/0.7973, allocations: 5.841 MB / 0.6898 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000414/0.7978, allocations: 72.12 kB / 0.6898 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003619/0.8014, allocations: 4.958 MB / 0.6947 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001382/0.8028, allocations: 1.11 MB / 0.6958 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002294/0.8051, allocations: 1.833 MB / 0.6975 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.8052, allocations: 309.1 kB / 0.6978 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003919/0.8091, allocations: 2.622 MB / 0.7004 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2216/1.031, allocations: 8.236 MB / 0.7084 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/1.048, allocations: 11.82 MB / 0.72 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003526/1.049, allocations: 61.02 kB / 0.72 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02062/1.069, allocations: 10.56 MB / 0.7304 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.07, allocations: 94.69 kB / 0.7304 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000293/1.07, allocations: 203.2 kB / 0.7306 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/1.07, allocations: 261.8 kB / 0.7309 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006669/1.077, allocations: 2.214 MB / 0.7331 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002592/1.077, allocations: 393 kB / 0.7334 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006284/1.083, allocations: 451.7 kB / 0.7339 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009186/1.084, allocations: 0.5511 MB / 0.7344 GB, free: 162 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.004893/1.089, allocations: 3.236 MB / 0.7376 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007176/1.09, allocations: 0.5152 MB / 0.7381 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/1.094, allocations: 2.966 MB / 0.741 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/1.094, allocations: 31.44 kB / 0.741 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.094, allocations: 3 kB / 0.741 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/1.094, allocations: 12.14 kB / 0.741 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.115, allocations: 12.41 MB / 0.7531 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/1.115, allocations: 32 kB / 0.7532 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.117, allocations: 0.5341 MB / 0.7537 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.478e-05/1.117, allocations: 46.69 kB / 0.7537 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/1.117, allocations: 96.5 kB / 0.7538 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.618e-05/1.117, allocations: 67.11 kB / 0.7539 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-05/1.117, allocations: 47.81 kB / 0.7539 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/1.123, allocations: 5.543 MB / 0.7593 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.124, allocations: 0.5904 MB / 0.7599 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/1.124, allocations: 91.44 kB / 0.76 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.126, allocations: 132.2 kB / 0.7601 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/1.126, allocations: 268.3 kB / 0.7604 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.126, allocations: 121.2 kB / 0.7605 GB, free: 144 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005019/1.131, allocations: 3.634 MB / 0.764 GB, free: 141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/1.131, allocations: 0 / 0.764 GB, free: 141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008165/1.14, allocations: 1.467 MB / 0.7655 GB, free: 139.5 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.0005356/1.14, allocations: 267 kB / 0.7657 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007997/1.148, allocations: 6.048 MB / 0.7716 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/1.148, allocations: 4 kB / 0.7716 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.15, allocations: 1.35 MB / 0.773 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/1.154, allocations: 0.7834 MB / 0.7737 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.174, allocations: 14.56 MB / 0.7879 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005247/1.179, allocations: 4.89 MB / 0.7927 GB, free: 113 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005197/1.184, allocations: 2.603 MB / 0.7953 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008518/1.185, allocations: 383.4 kB / 0.7956 GB, free: 110 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/1.185, allocations: 0 / 0.7956 GB, free: 110 MB / 0.5294 GB Notification: Performance of Templates: time 0.06968/1.255, allocations: 39.3 MB / 0.834 GB, free: 71.15 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 -s gbode -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