Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002165/0.002165, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.72/1.72, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001104/0.001104, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2226/0.2226, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 58.85 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.574, allocations: 109 MB / 0.5852 GB, free: 7.055 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5744, allocations: 81.7 kB / 0.5853 GB, free: 7.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7424/1.317, allocations: 146.6 MB / 0.7285 GB, free: 98.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/1.317, allocations: 0 / 0.7285 GB, free: 98.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003951/1.317, allocations: 151.6 kB / 0.7286 GB, free: 98.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02693/1.344, allocations: 7.076 MB / 0.7355 GB, free: 95.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.344, allocations: 12.7 kB / 0.7356 GB, free: 95.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/1.362, allocations: 3.626 MB / 0.7391 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/1.381, allocations: 7.715 MB / 0.7466 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007285/1.382, allocations: 0.5989 MB / 0.7472 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003901/1.386, allocations: 0.7828 MB / 0.748 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04705/1.433, allocations: 21.84 MB / 0.7693 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004811/1.433, allocations: 96.5 kB / 0.7694 GB, free: 90 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003003/1.436, allocations: 382.9 kB / 0.7698 GB, free: 90 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002964/1.439, allocations: 1.948 MB / 0.7717 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03633/1.476, allocations: 17.72 MB / 0.789 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09033/1.566, allocations: 79.67 MB / 0.8668 GB, free: 20.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/1.584, allocations: 6.648 MB / 0.8733 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0212/1.605, allocations: 9.921 MB / 0.8829 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01473/1.62, allocations: 4.399 MB / 0.8872 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=303): time 1.098e-05/1.62, allocations: 0 / 0.8872 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=337): time 0.3109/1.931, allocations: 22.61 MB / 0.9093 GB, free: 104 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/1.931, allocations: 166.2 kB / 0.9095 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.943, allocations: 5.441 MB / 0.9148 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006693/1.944, allocations: 76.47 kB / 0.9149 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005456/1.949, allocations: 5.298 MB / 0.92 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.951, allocations: 1.279 MB / 0.9213 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006553/1.952, allocations: 195.1 kB / 0.9215 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005119/1.952, allocations: 0.7295 MB / 0.9222 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005379/1.957, allocations: 2.895 MB / 0.925 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007873/1.965, allocations: 8.629 MB / 0.9334 GB, free: 92.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007949/1.973, allocations: 4.887 MB / 0.9382 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001877/1.974, allocations: 60.38 kB / 0.9383 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1282) (initialization): time 0.0232/1.997, allocations: 11.34 MB / 0.9493 GB, free: 91.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004871/1.997, allocations: 123.6 kB / 0.9495 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005705/1.998, allocations: 203.3 kB / 0.9497 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/1.998, allocations: 304.3 kB / 0.9499 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008669/2.007, allocations: 2.4 MB / 0.9523 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002695/2.007, allocations: 401.6 kB / 0.9527 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009232/2.017, allocations: 0.6094 MB / 0.9533 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/2.019, allocations: 0.569 MB / 0.9538 GB, free: 90.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1257): * Single equations (assignments): 1253 * Array equations: 3 * Algorithm blocks: 1 * 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.007462/2.026, allocations: 3.397 MB / 0.9571 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/2.027, allocations: 0.5536 MB / 0.9577 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006334/2.034, allocations: 3.477 MB / 0.9611 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/2.034, allocations: 35.17 kB / 0.9611 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/2.034, allocations: 3.562 kB / 0.9611 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/2.034, allocations: 15.38 kB / 0.9611 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/2.06, allocations: 13.88 MB / 0.9747 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.914e-05/2.06, allocations: 31.94 kB / 0.9747 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/2.062, allocations: 0.6211 MB / 0.9753 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.869e-05/2.062, allocations: 52.53 kB / 0.9754 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/2.063, allocations: 101.2 kB / 0.9755 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.669e-05/2.063, allocations: 69.28 kB / 0.9755 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-05/2.063, allocations: 51.12 kB / 0.9756 GB, free: 84.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008916/2.072, allocations: 12.45 MB / 0.9877 GB, free: 73.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/2.074, allocations: 0.8559 MB / 0.9886 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007626/2.075, allocations: 105.6 kB / 0.9887 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/2.078, allocations: 227.1 kB / 0.9889 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/2.078, allocations: 305.8 kB / 0.9892 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/2.078, allocations: 138 kB / 0.9893 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005534/2.084, allocations: 3.806 MB / 0.993 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.21e-07/2.084, allocations: 0 / 0.993 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007861/2.091, allocations: 1.596 MB / 0.9946 GB, free: 70.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 152 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 313 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005522/2.092, allocations: 292.5 kB / 0.9949 GB, free: 70.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01382/2.106, allocations: 6.601 MB / 1.001 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.012e-05/2.106, allocations: 4.75 kB / 1.001 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003762/2.11, allocations: 1.892 MB / 1.003 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/2.114, allocations: 0.7261 MB / 1.004 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/2.145, allocations: 18.7 MB / 1.022 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0086/2.153, allocations: 5.294 MB / 1.027 GB, free: 50 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007952/2.161, allocations: 2.784 MB / 1.03 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/2.163, allocations: 406 kB / 1.03 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of SimCode: time 9.61e-07/2.163, allocations: 0 / 1.03 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of Templates: time 0.08474/2.247, allocations: 47.97 MB / 1.077 GB, free: 10.54 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches