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.001813/0.001813, allocations: 177.3 kB / 17.41 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.475/2.475, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.00115/0.00115, allocations: 78.44 kB / 271.9 MB, free: 8.266 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.5645/0.5645, allocations: 43.57 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006756/0.0006759, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1909, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6602/0.8511, allocations: 108.7 MB / 0.586 GB, free: 9.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004198/0.8516, allocations: 83.95 kB / 0.5861 GB, free: 9.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086/1.938, allocations: 144 MB / 0.7267 GB, free: 85.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.47e-06/1.938, allocations: 0 / 0.7267 GB, free: 85.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001382/1.939, allocations: 144.9 kB / 0.7269 GB, free: 85.02 MB / 490.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.04479/1.984, allocations: 6.868 MB / 0.7336 GB, free: 82.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.52e-05/1.984, allocations: 11.44 kB / 0.7336 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03271/2.017, allocations: 3.374 MB / 0.7369 GB, free: 81.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02748/2.045, allocations: 6.427 MB / 0.7432 GB, free: 80.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002135/2.047, allocations: 0.6009 MB / 0.7437 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007793/2.055, allocations: 0.7905 MB / 0.7445 GB, free: 80.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.097/2.152, allocations: 21.62 MB / 0.7656 GB, free: 70.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001092/2.153, allocations: 95.22 kB / 0.7657 GB, free: 70.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008137/2.161, allocations: 390.5 kB / 0.7661 GB, free: 70.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006585/2.168, allocations: 1.939 MB / 0.768 GB, free: 70.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0754/2.243, allocations: 17.42 MB / 0.785 GB, free: 61.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6192/2.863, allocations: 79.49 MB / 0.8626 GB, free: 82.83 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03557/2.898, allocations: 6.531 MB / 0.869 GB, free: 82.17 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008041/2.907, allocations: 2.213 MB / 0.8712 GB, free: 82.13 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0344/2.941, allocations: 9.795 MB / 0.8807 GB, free: 80.01 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/2.941, allocations: 71.69 kB / 0.8808 GB, free: 79.97 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=296): time 1.078e-05/2.941, allocations: 1.188 kB / 0.8808 GB, free: 79.97 MB / 0.4949 GB Notification: Performance of matching and sorting (n=330): time 0.1319/3.073, allocations: 22.75 MB / 0.903 GB, free: 75.33 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/3.073, allocations: 165.3 kB / 0.9032 GB, free: 75.17 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02578/3.099, allocations: 6.089 MB / 0.9091 GB, free: 74.52 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009435/3.1, allocations: 77.52 kB / 0.9092 GB, free: 74.49 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006449/3.107, allocations: 5.192 MB / 0.9143 GB, free: 71.5 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002697/3.109, allocations: 1.255 MB / 0.9155 GB, free: 70.79 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/3.111, allocations: 194.6 kB / 0.9157 GB, free: 70.77 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001287/3.113, allocations: 0.7124 MB / 0.9164 GB, free: 70.29 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01037/3.123, allocations: 2.829 MB / 0.9191 GB, free: 69.42 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01648/3.14, allocations: 8.606 MB / 0.9275 GB, free: 60.86 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02082/3.16, allocations: 12.39 MB / 0.9396 GB, free: 50.98 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002576/3.161, allocations: 58.28 kB / 0.9397 GB, free: 50.98 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1273) (initialization): time 0.03756/3.198, allocations: 11.17 MB / 0.9506 GB, free: 46.67 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002184/3.199, allocations: 90.22 kB / 0.9507 GB, free: 46.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004891/3.199, allocations: 205.2 kB / 0.9509 GB, free: 46.67 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/3.2, allocations: 269.2 kB / 0.9511 GB, free: 46.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0131/3.213, allocations: 2.382 MB / 0.9535 GB, free: 46.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005094/3.213, allocations: 399.9 kB / 0.9538 GB, free: 46.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01485/3.228, allocations: 0.5917 MB / 0.9544 GB, free: 46.11 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00345/3.232, allocations: 0.5645 MB / 0.955 GB, free: 46.04 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * 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 (1249): * Single equations (assignments): 1246 * 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.01456/3.246, allocations: 3.391 MB / 0.9583 GB, free: 44.46 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002534/3.249, allocations: 0.5494 MB / 0.9588 GB, free: 44.15 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/3.261, allocations: 3.336 MB / 0.9621 GB, free: 42.79 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.436e-05/3.261, allocations: 39.84 kB / 0.9621 GB, free: 42.79 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-05/3.261, allocations: 0 / 0.9621 GB, free: 42.79 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.432e-05/3.261, allocations: 16.64 kB / 0.9621 GB, free: 42.79 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04506/3.306, allocations: 13.73 MB / 0.9755 GB, free: 37.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001064/3.307, allocations: 33.34 kB / 0.9756 GB, free: 37.14 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004031/3.311, allocations: 0.6058 MB / 0.9762 GB, free: 37.08 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.78e-05/3.311, allocations: 45.09 kB / 0.9762 GB, free: 37.08 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005754/3.311, allocations: 100.3 kB / 0.9763 GB, free: 37.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.746e-05/3.312, allocations: 73.22 kB / 0.9764 GB, free: 37.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-05/3.312, allocations: 55.06 kB / 0.9764 GB, free: 37.01 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/3.325, allocations: 6.228 MB / 0.9825 GB, free: 32.07 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004176/3.329, allocations: 0.8504 MB / 0.9833 GB, free: 31.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002236/3.331, allocations: 106.9 kB / 0.9834 GB, free: 31.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005589/3.337, allocations: 205.9 kB / 0.9836 GB, free: 31.01 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008731/3.338, allocations: 299.3 kB / 0.9839 GB, free: 30.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/3.338, allocations: 138.1 kB / 0.984 GB, free: 30.66 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0121/3.35, allocations: 3.796 MB / 0.9878 GB, free: 27.56 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.403e-06/3.35, allocations: 0 / 0.9878 GB, free: 27.56 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01726/3.368, allocations: 1.576 MB / 0.9893 GB, free: 26 MB / 0.4949 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 (311): * Single equations (assignments): 308 * 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.001333/3.369, allocations: 290.1 kB / 0.9896 GB, free: 25.72 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01874/3.388, allocations: 6.429 MB / 0.9958 GB, free: 20.08 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.122e-05/3.388, allocations: 4 kB / 0.9959 GB, free: 20.08 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004485/3.392, allocations: 1.541 MB / 0.9974 GB, free: 18.72 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04975/3.442, allocations: 0.7719 MB / 0.9981 GB, free: 18.06 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05669/3.499, allocations: 19.6 MB / 1.017 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01862/3.518, allocations: 5.14 MB / 1.022 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002959/3.521, allocations: 486.2 kB / 1.023 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.455e-06/3.521, allocations: 0 / 1.023 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.715/4.236, allocations: 89.02 MB / 1.11 GB, free: 106.7 MB / 0.5261 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/jenkins1/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