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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3035/0.3035, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|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=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.7e-05, allocations: 6.25 kB / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01323/0.01326, allocations: 15.11 MB / 391.6 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.02454, allocations: 4.871 MB / 396.5 MB, free: 312 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003637/0.02818, allocations: 119.4 kB / 396.6 MB, free: 192 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008073/0.03625, allocations: 5.479 MB / 402.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008034/0.04428, allocations: 2.639 MB / 404.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.04731, allocations: 1.314 MB / 406 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.05743, allocations: 7.717 MB / 413.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006971/0.0644, allocations: 5.941 MB / 419.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009729/0.07413, allocations: 4.124 MB / 423.8 MB, free: 4.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006837/0.08096, allocations: 3.975 MB / 427.8 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002451/0.08342, allocations: 0.5703 MB / 428.4 MB, free: 292 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004813/0.08823, allocations: 1.233 MB / 429.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004192/0.09242, allocations: 3.44 MB / 433 MB, free: 11.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004614/0.09703, allocations: 2.189 MB / 435.2 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.1082, allocations: 7.153 MB / 442.4 MB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1082, allocations: 0 / 442.4 MB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1082, allocations: 0 / 442.4 MB, free: 2.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004787/0.1087, allocations: 0 / 442.4 MB, free: 2.227 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.1981/0.3068, allocations: 7.904 MB / 450.3 MB, free: 96.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.3069, allocations: 11.69 kB / 450.3 MB, free: 96.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.3137, allocations: 2.399 MB / 452.7 MB, free: 96.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.3188, allocations: 2.919 MB / 455.6 MB, free: 95.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.3191, allocations: 427.8 kB / 456 MB, free: 95.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.3202, allocations: 0.5421 MB / 456.6 MB, free: 95.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.3403, allocations: 9.949 MB / 466.5 MB, free: 89.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/0.3407, allocations: 72.77 kB / 466.6 MB, free: 89.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/0.3419, allocations: 267.5 kB / 466.8 MB, free: 89.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00244/0.3443, allocations: 2.793 MB / 469.6 MB, free: 88.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.3576, allocations: 4.623 MB / 474.3 MB, free: 88.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05684/0.4144, allocations: 69.81 MB / 0.5313 GB, free: 27.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.4249, allocations: 3.639 MB / 0.5349 GB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.4262, allocations: 0.7906 MB / 0.5356 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008869/0.4351, allocations: 5.411 MB / 0.5409 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.4352, allocations: 63.39 kB / 0.541 GB, free: 18.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=257): time 5.129e-06/0.4352, allocations: 4 kB / 0.541 GB, free: 18.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.02865/0.4638, allocations: 11.68 MB / 0.5524 GB, free: 6.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.4639, allocations: 158.5 kB / 0.5526 GB, free: 6.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/0.4679, allocations: 4.93 MB / 0.5574 GB, free: 1.641 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.468, allocations: 65.7 kB / 0.5574 GB, free: 1.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002579/0.4706, allocations: 5.311 MB / 0.5626 GB, free: 12.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.4718, allocations: 1.186 MB / 0.5638 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001991/0.4738, allocations: 2.006 MB / 0.5657 GB, free: 8.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4739, allocations: 480.7 kB / 0.5662 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4755, allocations: 0.842 MB / 0.567 GB, free: 7.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006457/0.4819, allocations: 9.253 MB / 0.5761 GB, free: 10.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00919/0.4911, allocations: 11.1 MB / 0.5869 GB, free: 11.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001623/0.4913, allocations: 56 kB / 0.5869 GB, free: 11.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.009826/0.5011, allocations: 7.234 MB / 0.594 GB, free: 4.375 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.5012, allocations: 92 kB / 0.5941 GB, free: 4.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/0.5014, allocations: 202.4 kB / 0.5943 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/0.5015, allocations: 264 kB / 0.5945 GB, free: 3.832 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/0.5053, allocations: 2.196 MB / 0.5967 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002674/0.5056, allocations: 390.5 kB / 0.5971 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/0.5099, allocations: 426.4 kB / 0.5975 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005645/0.5105, allocations: 491.9 kB / 0.5979 GB, free: 364 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1201): * Single equations (assignments): 1198 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3268/0.8373, allocations: 0.9433 MB / 0.5989 GB, free: 120.2 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/0.8387, allocations: 0.5596 MB / 0.5994 GB, free: 120.2 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.8411, allocations: 1.571 MB / 0.6009 GB, free: 120.1 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.8411, allocations: 29.12 kB / 0.601 GB, free: 120.1 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.8411, allocations: 4.422 kB / 0.601 GB, free: 120.1 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.8411, allocations: 11.58 kB / 0.601 GB, free: 120.1 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.8528, allocations: 8.961 MB / 0.6097 GB, free: 117.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/0.8528, allocations: 32.31 kB / 0.6098 GB, free: 117.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.8539, allocations: 0.5174 MB / 0.6103 GB, free: 117.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.773e-05/0.8539, allocations: 46.94 kB / 0.6103 GB, free: 117.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.854, allocations: 91.2 kB / 0.6104 GB, free: 117.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.758e-05/0.854, allocations: 65.48 kB / 0.6105 GB, free: 117.9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-05/0.854, allocations: 47.66 kB / 0.6105 GB, free: 117.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.8573, allocations: 3.982 MB / 0.6144 GB, free: 115.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.8586, allocations: 495.8 kB / 0.6149 GB, free: 115 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004658/0.8591, allocations: 91.69 kB / 0.615 GB, free: 115 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8601, allocations: 102 kB / 0.6151 GB, free: 115 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.8603, allocations: 280.6 kB / 0.6153 GB, free: 114.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.8604, allocations: 103.5 kB / 0.6154 GB, free: 114.9 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002448/0.8629, allocations: 1.926 MB / 0.6173 GB, free: 114.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 7e-08/0.8629, allocations: 3.281 kB / 0.6173 GB, free: 114.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00612/0.869, allocations: 1.551 MB / 0.6188 GB, free: 114.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005633/0.8696, allocations: 280.6 kB / 0.6191 GB, free: 114.6 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004792/0.8744, allocations: 3.857 MB / 0.6229 GB, free: 113.9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.885e-05/0.8744, allocations: 6.906 kB / 0.6229 GB, free: 113.9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.8752, allocations: 0.7689 MB / 0.6236 GB, free: 113.7 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.878, allocations: 0.6703 MB / 0.6243 GB, free: 113.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.8981, allocations: 12.7 MB / 0.6367 GB, free: 106.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003906/0.902, allocations: 1.953 MB / 0.6386 GB, free: 105.9 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003346/0.9053, allocations: 0.7663 MB / 0.6393 GB, free: 105.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.9069, allocations: 0.8823 MB / 0.6402 GB, free: 105.5 MB / 458.8 MB Notification: Performance of SimCode: time 2.735e-06/0.9069, allocations: 0 / 0.6402 GB, free: 105.5 MB / 458.8 MB Notification: Performance of Templates: time 0.0682/0.9751, allocations: 39.39 MB / 0.6787 GB, free: 76.32 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.368533483240753]