Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.000942, allocations: 90.31 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3475/0.3475, allocations: 44.22 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3588, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4995, allocations: 109.4 MB / 0.6163 GB, free: 1.723 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4998, allocations: 79.97 kB / 0.6164 GB, free: 1.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6211/1.121, allocations: 140.7 MB / 0.7538 GB, free: 86.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.121, allocations: 3.594 kB / 0.7538 GB, free: 86.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004783/1.121, allocations: 136 kB / 0.7539 GB, free: 86.35 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.0246/1.146, allocations: 6.646 MB / 0.7604 GB, free: 81.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.146, allocations: 7.469 kB / 0.7604 GB, free: 81.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/1.163, allocations: 3.555 MB / 0.7639 GB, free: 80.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/1.185, allocations: 7.102 MB / 0.7708 GB, free: 74.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007419/1.185, allocations: 0.5696 MB / 0.7714 GB, free: 74.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005066/1.19, allocations: 0.7458 MB / 0.7721 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05539/1.246, allocations: 20.91 MB / 0.7925 GB, free: 51.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006596/1.247, allocations: 95.14 kB / 0.7926 GB, free: 50.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004104/1.251, allocations: 367.8 kB / 0.793 GB, free: 50.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00308/1.254, allocations: 1.823 MB / 0.7947 GB, free: 48.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04087/1.295, allocations: 16.78 MB / 0.8111 GB, free: 31.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4204/1.715, allocations: 77.07 MB / 0.8864 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/1.731, allocations: 6.174 MB / 0.8924 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01672/1.747, allocations: 9.219 MB / 0.9014 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/1.747, allocations: 65.64 kB / 0.9015 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=261): time 6.001e-06/1.747, allocations: 3.125 kB / 0.9015 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=295): time 0.05342/1.801, allocations: 20.75 MB / 0.9218 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/1.801, allocations: 164.3 kB / 0.9219 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007666/1.809, allocations: 5.246 MB / 0.927 GB, free: 49.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005261/1.809, allocations: 72.36 kB / 0.9271 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002564/1.812, allocations: 4.961 MB / 0.9319 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.813, allocations: 1.124 MB / 0.933 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/1.813, allocations: 193.2 kB / 0.9332 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003404/1.814, allocations: 0.6872 MB / 0.9339 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003715/1.817, allocations: 2.618 MB / 0.9365 GB, free: 45.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005369/1.823, allocations: 8.161 MB / 0.9444 GB, free: 38.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005883/1.829, allocations: 4.498 MB / 0.9488 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/1.829, allocations: 54.91 kB / 0.9489 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.01715/1.846, allocations: 10.53 MB / 0.9592 GB, free: 34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/1.846, allocations: 89.03 kB / 0.9592 GB, free: 34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002702/1.846, allocations: 203.5 kB / 0.9594 GB, free: 34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/1.847, allocations: 287.6 kB / 0.9597 GB, free: 34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006936/1.854, allocations: 2.242 MB / 0.9619 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002239/1.854, allocations: 382.5 kB / 0.9623 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006525/1.86, allocations: 0.575 MB / 0.9628 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000968/1.861, allocations: 0.5405 MB / 0.9633 GB, free: 33.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 78 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1178): * Single equations (assignments): 1175 * 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.005855/1.867, allocations: 3.226 MB / 0.9665 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.868, allocations: 0.5186 MB / 0.967 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/1.873, allocations: 2.901 MB / 0.9698 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/1.873, allocations: 31.52 kB / 0.9699 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.873, allocations: 3.375 kB / 0.9699 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.873, allocations: 16.98 kB / 0.9699 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.892, allocations: 12.56 MB / 0.9822 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/1.892, allocations: 32 kB / 0.9822 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.894, allocations: 0.5313 MB / 0.9827 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-05/1.894, allocations: 52 kB / 0.9828 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/1.894, allocations: 88.97 kB / 0.9828 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.924e-05/1.894, allocations: 66.47 kB / 0.9829 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.019e-05/1.894, allocations: 58.66 kB / 0.983 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006335/1.9, allocations: 11.3 MB / 0.994 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.902, allocations: 0.5955 MB / 0.9946 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005898/1.902, allocations: 103.6 kB / 0.9947 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.905, allocations: 189.1 kB / 0.9949 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/1.905, allocations: 268.4 kB / 0.9951 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.905, allocations: 119.8 kB / 0.9952 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005029/1.91, allocations: 3.668 MB / 0.9988 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/1.91, allocations: 0 / 0.9988 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007378/1.917, allocations: 1.479 MB / 1 GB, free: 3.582 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 146 * 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 (273): * Single equations (assignments): 270 * 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.0006198/1.918, allocations: 281.2 kB / 1.001 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.93, allocations: 5.941 MB / 1.006 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.038e-05/1.93, allocations: 7.828 kB / 1.006 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0025/1.932, allocations: 1.344 MB / 1.008 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004514/1.937, allocations: 0.7155 MB / 1.008 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/1.966, allocations: 17.43 MB / 1.025 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006435/1.972, allocations: 5.03 MB / 1.03 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006442/1.979, allocations: 2.621 MB / 1.033 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009201/1.979, allocations: 377.8 kB / 1.033 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/1.979, allocations: 0 / 1.033 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of Templates: time 0.08795/2.067, allocations: 44.38 MB / 1.077 GB, free: 12.46 MB / 0.5886 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches