Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008486/0.0008486, allocations: 175.5 kB / 16.72 MB, free: 4.949 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007022/0.0007022, allocations: 91.88 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.286/0.286, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 16 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09699, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2286/0.3256, allocations: 79.45 MB / 0.5569 GB, free: 9.703 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03836/0.364, allocations: 15.99 MB / 0.5725 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01715/0.3812, allocations: 368.7 kB / 0.5729 GB, free: 14.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01472/0.396, allocations: 4.16 MB / 0.5769 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03382/0.4298, allocations: 12.14 MB / 0.5888 GB, free: 5.801 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005825/0.4357, allocations: 1.123 MB / 0.5899 GB, free: 4.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.4471, allocations: 8.254 MB / 0.598 GB, free: 12.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01338/0.4605, allocations: 9.092 MB / 0.6068 GB, free: 3.254 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/0.465, allocations: 2.172 MB / 0.609 GB, free: 1.074 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005679/0.4707, allocations: 3.587 MB / 0.6125 GB, free: 13.47 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001921/0.4726, allocations: 276 kB / 0.6127 GB, free: 13.2 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.4762, allocations: 1.002 MB / 0.6137 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004201/0.4804, allocations: 3.051 MB / 0.6167 GB, free: 9.141 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005387/0.4858, allocations: 3.33 MB / 0.6199 GB, free: 5.785 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009727/0.4956, allocations: 9.344 MB / 0.6291 GB, free: 12.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4956, allocations: 0 / 0.6291 GB, free: 12.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4956, allocations: 0 / 0.6291 GB, free: 12.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003785/0.496, allocations: 0 / 0.6291 GB, free: 12.42 MB / 458.7 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.01288/0.5089, allocations: 6.615 MB / 0.6355 GB, free: 5.727 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5089, allocations: 12.03 kB / 0.6355 GB, free: 5.715 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.5194, allocations: 2.775 MB / 0.6382 GB, free: 2.926 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007655/0.5271, allocations: 3.947 MB / 0.6421 GB, free: 14.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004267/0.5276, allocations: 464.1 kB / 0.6425 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001823/0.5294, allocations: 0.5816 MB / 0.6431 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0395/0.5689, allocations: 21.23 MB / 0.6638 GB, free: 7.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002895/0.5693, allocations: 71.31 kB / 0.6639 GB, free: 7.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001658/0.5709, allocations: 287.7 kB / 0.6642 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005404/0.5764, allocations: 3.545 MB / 0.6676 GB, free: 3.598 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3611/0.9375, allocations: 17.18 MB / 0.6844 GB, free: 131 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06917/1.007, allocations: 67.85 MB / 0.7507 GB, free: 84.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/1.022, allocations: 6.672 MB / 0.7572 GB, free: 80.83 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/1.024, allocations: 2.296 MB / 0.7594 GB, free: 79.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/1.038, allocations: 9.788 MB / 0.769 GB, free: 70.57 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.038, allocations: 64.48 kB / 0.769 GB, free: 70.5 MB / 490.8 MB Notification: Performance of pre-optimization done (n=296): time 6.081e-06/1.038, allocations: 0.6562 kB / 0.769 GB, free: 70.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=330): time 0.05482/1.093, allocations: 22.8 MB / 0.7913 GB, free: 47.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/1.093, allocations: 162.7 kB / 0.7915 GB, free: 47.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008613/1.102, allocations: 5.998 MB / 0.7973 GB, free: 41.34 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004935/1.102, allocations: 73.7 kB / 0.7974 GB, free: 41.26 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002585/1.105, allocations: 5.187 MB / 0.8025 GB, free: 36.08 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.106, allocations: 1.242 MB / 0.8037 GB, free: 34.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007198/1.107, allocations: 206.6 kB / 0.8039 GB, free: 34.64 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00057/1.107, allocations: 0.7196 MB / 0.8046 GB, free: 33.92 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004487/1.112, allocations: 2.813 MB / 0.8073 GB, free: 31.1 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006498/1.118, allocations: 8.644 MB / 0.8158 GB, free: 19.59 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.13, allocations: 12.47 MB / 0.8279 GB, free: 4.207 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001949/1.13, allocations: 60 kB / 0.828 GB, free: 4.148 MB / 490.8 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02022/1.15, allocations: 11.18 MB / 0.8389 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/1.15, allocations: 102.7 kB / 0.839 GB, free: 8.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002973/1.151, allocations: 204 kB / 0.8392 GB, free: 8.621 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/1.151, allocations: 276 kB / 0.8395 GB, free: 8.352 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007839/1.159, allocations: 2.351 MB / 0.8418 GB, free: 5.996 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003816/1.159, allocations: 402.5 kB / 0.8422 GB, free: 5.602 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006279/1.166, allocations: 475.5 kB / 0.8426 GB, free: 5.137 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.167, allocations: 0.5742 MB / 0.8432 GB, free: 4.562 MB / 0.4949 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006522/1.174, allocations: 3.396 MB / 0.8465 GB, free: 1.152 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.175, allocations: 0.5476 MB / 0.847 GB, free: 0.5977 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006629/1.181, allocations: 3.432 MB / 0.8504 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/1.181, allocations: 36 kB / 0.8504 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.181, allocations: 1.25 kB / 0.8504 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-05/1.182, allocations: 19.94 kB / 0.8504 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2229/1.404, allocations: 13.8 MB / 0.8639 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-05/1.405, allocations: 32.47 kB / 0.8639 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/1.407, allocations: 0.6093 MB / 0.8645 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-05/1.407, allocations: 49.78 kB / 0.8646 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/1.407, allocations: 106.4 kB / 0.8647 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.319e-05/1.407, allocations: 68.8 kB / 0.8647 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.046e-05/1.407, allocations: 54.34 kB / 0.8648 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007987/1.415, allocations: 6.278 MB / 0.8709 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.418, allocations: 0.8517 MB / 0.8718 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000886/1.418, allocations: 100.5 kB / 0.8718 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.421, allocations: 159.7 kB / 0.872 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/1.421, allocations: 299.4 kB / 0.8723 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.421, allocations: 136.2 kB / 0.8724 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005966/1.427, allocations: 3.716 MB / 0.876 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/1.427, allocations: 1.594 kB / 0.876 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008616/1.436, allocations: 1.57 MB / 0.8776 GB, free: 146.4 MB / 0.5105 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 (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.0008913/1.437, allocations: 283.4 kB / 0.8779 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00964/1.446, allocations: 6.463 MB / 0.8842 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.249e-05/1.446, allocations: 3.25 kB / 0.8842 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/1.449, allocations: 1.564 MB / 0.8857 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02832/1.477, allocations: 0.7676 MB / 0.8864 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/1.505, allocations: 19.5 MB / 0.9055 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007606/1.512, allocations: 5.122 MB / 0.9105 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/1.514, allocations: 490.6 kB / 0.9109 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/1.514, allocations: 0 / 0.9109 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1081/1.622, allocations: 89.19 MB / 0.998 GB, free: 55.22 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches