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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 175.7 kB / 16.77 MB, free: 5.02 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.366/1.366, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007609/0.0007609, allocations: 91.34 kB / 271.3 MB, free: 8.242 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.3296/0.3296, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3172/0.4234, allocations: 108.7 MB / 0.5861 GB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4237, allocations: 79.95 kB / 0.5861 GB, free: 9.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5637/0.9874, allocations: 144 MB / 0.7267 GB, free: 85.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.9874, allocations: 3.875 kB / 0.7267 GB, free: 85.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004217/0.9878, allocations: 147.3 kB / 0.7269 GB, free: 85.52 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.02118/1.009, allocations: 6.866 MB / 0.7336 GB, free: 82.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.009, allocations: 7.125 kB / 0.7336 GB, free: 82.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/1.025, allocations: 3.381 MB / 0.7369 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/1.038, allocations: 6.419 MB / 0.7432 GB, free: 80.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006101/1.039, allocations: 0.6049 MB / 0.7438 GB, free: 80.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003665/1.043, allocations: 0.794 MB / 0.7445 GB, free: 80.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04641/1.089, allocations: 21.62 MB / 0.7656 GB, free: 70.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005247/1.09, allocations: 92.56 kB / 0.7657 GB, free: 70.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0036/1.093, allocations: 388.1 kB / 0.7661 GB, free: 70.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00311/1.096, allocations: 1.946 MB / 0.768 GB, free: 70.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03635/1.133, allocations: 17.41 MB / 0.785 GB, free: 61.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.304/1.437, allocations: 79.49 MB / 0.8626 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/1.454, allocations: 6.53 MB / 0.869 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/1.457, allocations: 2.216 MB / 0.8712 GB, free: 80.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01829/1.476, allocations: 9.79 MB / 0.8807 GB, free: 78.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/1.476, allocations: 71 kB / 0.8808 GB, free: 78.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=296): time 6.402e-06/1.476, allocations: 0 / 0.8808 GB, free: 78.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=330): time 0.06915/1.545, allocations: 22.75 MB / 0.903 GB, free: 74.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/1.545, allocations: 163 kB / 0.9032 GB, free: 73.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/1.559, allocations: 6.083 MB / 0.9091 GB, free: 73.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000765/1.56, allocations: 76.14 kB / 0.9092 GB, free: 73.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003849/1.564, allocations: 5.201 MB / 0.9143 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001864/1.566, allocations: 1.248 MB / 0.9155 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.567, allocations: 198.1 kB / 0.9157 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009778/1.568, allocations: 0.7114 MB / 0.9164 GB, free: 69.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005864/1.574, allocations: 2.828 MB / 0.9191 GB, free: 69.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009214/1.583, allocations: 8.611 MB / 0.9276 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/1.597, allocations: 12.39 MB / 0.9397 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002718/1.597, allocations: 57 kB / 0.9397 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1273) (initialization): time 0.0232/1.62, allocations: 11.18 MB / 0.9506 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/1.621, allocations: 92.75 kB / 0.9507 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003986/1.621, allocations: 200.4 kB / 0.9509 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/1.622, allocations: 273.5 kB / 0.9512 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00811/1.63, allocations: 2.377 MB / 0.9535 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004058/1.63, allocations: 402.4 kB / 0.9539 GB, free: 46.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008221/1.638, allocations: 0.6015 MB / 0.9545 GB, free: 46.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/1.64, allocations: 0.5678 MB / 0.955 GB, free: 45.93 MB / 0.4948 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.009116/1.649, allocations: 3.387 MB / 0.9583 GB, free: 44.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/1.651, allocations: 0.5487 MB / 0.9589 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008256/1.659, allocations: 3.335 MB / 0.9621 GB, free: 42.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-05/1.66, allocations: 39.09 kB / 0.9621 GB, free: 42.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/1.66, allocations: 3.562 kB / 0.9622 GB, free: 42.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-05/1.66, allocations: 18.09 kB / 0.9622 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03014/1.69, allocations: 13.73 MB / 0.9756 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.533e-05/1.69, allocations: 32.62 kB / 0.9756 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/1.692, allocations: 0.5966 MB / 0.9762 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.736e-05/1.692, allocations: 50.38 kB / 0.9762 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003693/1.693, allocations: 103.4 kB / 0.9763 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.756e-05/1.693, allocations: 70.52 kB / 0.9764 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-05/1.693, allocations: 52.44 kB / 0.9765 GB, free: 36.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008024/1.701, allocations: 6.232 MB / 0.9825 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/1.704, allocations: 0.8485 MB / 0.9834 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/1.706, allocations: 102.8 kB / 0.9835 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003561/1.709, allocations: 207.9 kB / 0.9837 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/1.71, allocations: 294 kB / 0.9839 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002697/1.71, allocations: 126.9 kB / 0.9841 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009633/1.72, allocations: 3.801 MB / 0.9878 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/1.72, allocations: 2.734 kB / 0.9878 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01134/1.731, allocations: 1.579 MB / 0.9893 GB, free: 25.4 MB / 0.4948 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.001088/1.732, allocations: 291.4 kB / 0.9896 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.744, allocations: 6.434 MB / 0.9959 GB, free: 19.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.992e-05/1.744, allocations: 8 kB / 0.9959 GB, free: 19.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002708/1.747, allocations: 1.544 MB / 0.9974 GB, free: 18.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03228/1.779, allocations: 0.7594 MB / 0.9981 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03894/1.818, allocations: 18.78 MB / 1.016 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/1.831, allocations: 5.133 MB / 1.021 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009702/1.841, allocations: 2.773 MB / 1.024 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002043/1.843, allocations: 410.2 kB / 1.025 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/1.843, allocations: 0 / 1.025 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of Templates: time 0.3281/2.171, allocations: 47.37 MB / 1.071 GB, free: 108.2 MB / 0.5261 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/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_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches