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.001331/0.001331, allocations: 176.2 kB / 16.76 MB, free: 4.938 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.311/1.311, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007657/0.0007657, allocations: 90.39 kB / 271.3 MB, free: 8.238 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.3046/0.3046, allocations: 43.57 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 12 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4418, allocations: 109.2 MB / 0.5866 GB, free: 8.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.4421, allocations: 85.8 kB / 0.5867 GB, free: 8.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5541/0.9962, allocations: 144.4 MB / 0.7277 GB, free: 85.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.9962, allocations: 0 / 0.7277 GB, free: 85.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004425/0.9967, allocations: 151.2 kB / 0.7279 GB, free: 85.71 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02098/1.018, allocations: 6.984 MB / 0.7347 GB, free: 82.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/1.018, allocations: 8.781 kB / 0.7347 GB, free: 82.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/1.033, allocations: 3.383 MB / 0.738 GB, free: 82.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/1.046, allocations: 6.423 MB / 0.7443 GB, free: 80.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005065/1.047, allocations: 0.5999 MB / 0.7449 GB, free: 80.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002794/1.05, allocations: 0.7896 MB / 0.7456 GB, free: 80.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04321/1.093, allocations: 21.66 MB / 0.7668 GB, free: 70.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005396/1.093, allocations: 99.09 kB / 0.7669 GB, free: 70.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004019/1.097, allocations: 390.9 kB / 0.7673 GB, free: 70.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003391/1.101, allocations: 1.95 MB / 0.7692 GB, free: 70.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03565/1.137, allocations: 17.48 MB / 0.7862 GB, free: 60.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3866/1.523, allocations: 79.57 MB / 0.8639 GB, free: 81.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02941/1.553, allocations: 6.64 MB / 0.8704 GB, free: 80.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006315/1.559, allocations: 2.255 MB / 0.8726 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02736/1.586, allocations: 9.818 MB / 0.8822 GB, free: 78.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02248/1.609, allocations: 4.382 MB / 0.8865 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=299): time 9.708e-06/1.609, allocations: 0 / 0.8865 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=333): time 0.08219/1.691, allocations: 23.15 MB / 0.9091 GB, free: 73.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/1.691, allocations: 167.3 kB / 0.9093 GB, free: 73.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.702, allocations: 6.102 MB / 0.9152 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006702/1.703, allocations: 75.67 kB / 0.9153 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004518/1.707, allocations: 5.302 MB / 0.9205 GB, free: 70.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001644/1.709, allocations: 1.264 MB / 0.9217 GB, free: 69.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006364/1.709, allocations: 197.3 kB / 0.9219 GB, free: 69.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004554/1.71, allocations: 0.7198 MB / 0.9226 GB, free: 68.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004893/1.715, allocations: 2.873 MB / 0.9254 GB, free: 67.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007836/1.723, allocations: 8.656 MB / 0.9339 GB, free: 59.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.735, allocations: 12.5 MB / 0.9461 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001966/1.736, allocations: 59.81 kB / 0.9461 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.02198/1.758, allocations: 11.29 MB / 0.9572 GB, free: 45.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001934/1.758, allocations: 116.8 kB / 0.9573 GB, free: 45.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000278/1.758, allocations: 209.7 kB / 0.9575 GB, free: 45.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/1.758, allocations: 275 kB / 0.9577 GB, free: 45.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008069/1.766, allocations: 2.391 MB / 0.9601 GB, free: 44.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003634/1.767, allocations: 400.5 kB / 0.9604 GB, free: 44.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008174/1.775, allocations: 0.6204 MB / 0.9611 GB, free: 44.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/1.777, allocations: 0.5707 MB / 0.9616 GB, free: 44.43 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: 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 (1253): * Single equations (assignments): 1249 * 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.008977/1.786, allocations: 3.39 MB / 0.9649 GB, free: 42.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/1.788, allocations: 0.553 MB / 0.9655 GB, free: 42.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007671/1.795, allocations: 3.429 MB / 0.9688 GB, free: 41.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/1.795, allocations: 31.41 kB / 0.9688 GB, free: 41.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/1.795, allocations: 3.062 kB / 0.9688 GB, free: 41.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-05/1.795, allocations: 13.92 kB / 0.9689 GB, free: 41.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0325/1.828, allocations: 13.72 MB / 0.9823 GB, free: 33.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.404e-05/1.828, allocations: 35.94 kB / 0.9823 GB, free: 33.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.83, allocations: 0.6151 MB / 0.9829 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.247e-05/1.83, allocations: 47.94 kB / 0.9829 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/1.831, allocations: 107.5 kB / 0.983 GB, free: 32.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.972e-05/1.831, allocations: 69.12 kB / 0.9831 GB, free: 32.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.302e-05/1.831, allocations: 55.75 kB / 0.9832 GB, free: 32.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008885/1.84, allocations: 6.165 MB / 0.9892 GB, free: 26.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/1.843, allocations: 0.8571 MB / 0.99 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/1.844, allocations: 98.75 kB / 0.9901 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/1.848, allocations: 225.3 kB / 0.9903 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/1.848, allocations: 306.6 kB / 0.9906 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/1.849, allocations: 134.5 kB / 0.9907 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008826/1.857, allocations: 3.812 MB / 0.9945 GB, free: 21.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.01e-07/1.858, allocations: 0 / 0.9945 GB, free: 21.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01307/1.871, allocations: 1.588 MB / 0.996 GB, free: 20.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (314): * Single equations (assignments): 309 * 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.001136/1.872, allocations: 295.3 kB / 0.9963 GB, free: 20.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.884, allocations: 6.571 MB / 1.003 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.621e-05/1.884, allocations: 8 kB / 1.003 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003885/1.888, allocations: 1.862 MB / 1.005 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03207/1.92, allocations: 0.7887 MB / 1.005 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04248/1.963, allocations: 19.2 MB / 1.024 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01186/1.975, allocations: 5.137 MB / 1.029 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01044/1.985, allocations: 2.774 MB / 1.032 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/1.988, allocations: 406.4 kB / 1.032 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of SimCode: time 2.305e-06/1.988, allocations: 4 kB / 1.032 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of Templates: time 0.3673/2.355, allocations: 47.99 MB / 1.079 GB, free: 102 MB / 0.5261 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/jenkins1/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