Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.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.00108/0.00108, 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.001409/0.001409, allocations: 170.2 kB / 24.82 MB, free: 9.262 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2762/0.2762, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.159e-05, allocations: 9.203 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01259/0.01262, allocations: 15.16 MB / 391.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009058/0.02168, allocations: 4.911 MB / 396.6 MB, free: 232 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.02418, allocations: 115.5 kB / 396.7 MB, free: 116 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005588/0.02977, allocations: 5.479 MB / 402.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006008/0.03578, allocations: 2.662 MB / 404.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.03813, allocations: 1.318 MB / 406.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008668/0.0468, allocations: 7.759 MB / 413.9 MB, free: 14.85 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007247/0.05405, allocations: 5.977 MB / 419.9 MB, free: 8.797 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006931/0.06098, allocations: 4.14 MB / 424 MB, free: 4.648 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004757/0.06574, allocations: 3.991 MB / 428 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.06687, allocations: 0.5742 MB / 428.6 MB, free: 76 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.06886, allocations: 1.249 MB / 429.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.07147, allocations: 3.448 MB / 433.3 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.07405, allocations: 2.2 MB / 435.5 MB, free: 9.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008252/0.0823, allocations: 7.173 MB / 442.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.08231, allocations: 0 / 442.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08231, allocations: 0 / 442.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002594/0.08257, allocations: 3.938 kB / 442.7 MB, free: 1.957 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: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.1961/0.2787, allocations: 7.979 MB / 450.6 MB, free: 96.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.2788, allocations: 8.875 kB / 450.6 MB, free: 96.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/0.2849, allocations: 2.401 MB / 453 MB, free: 96.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.2889, allocations: 2.929 MB / 456 MB, free: 95.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.2891, allocations: 425.2 kB / 456.4 MB, free: 95.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005691/0.2897, allocations: 0.5553 MB / 456.9 MB, free: 94.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.303, allocations: 9.955 MB / 466.9 MB, free: 89.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.3032, allocations: 74.81 kB / 467 MB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004279/0.3036, allocations: 276 kB / 467.2 MB, free: 89.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002196/0.3058, allocations: 2.79 MB / 470 MB, free: 88.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.3175, allocations: 4.626 MB / 474.7 MB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/0.3693, allocations: 69.84 MB / 0.5317 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/0.3773, allocations: 3.657 MB / 0.5353 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009201/0.3782, allocations: 0.7934 MB / 0.5361 GB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006787/0.385, allocations: 5.441 MB / 0.5414 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005883/0.3909, allocations: 3.136 MB / 0.5444 GB, free: 14.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=260): time 5.481e-06/0.3909, allocations: 0 / 0.5444 GB, free: 14.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=294): time 0.02536/0.4162, allocations: 11.73 MB / 0.5559 GB, free: 3.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.4163, allocations: 162.5 kB / 0.5561 GB, free: 2.984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/0.4209, allocations: 4.934 MB / 0.5609 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.421, allocations: 69.7 kB / 0.5609 GB, free: 13.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004292/0.4253, allocations: 5.318 MB / 0.5661 GB, free: 8.621 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.4264, allocations: 1.198 MB / 0.5673 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00192/0.4283, allocations: 2.006 MB / 0.5693 GB, free: 5.391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004894/0.4288, allocations: 480.7 kB / 0.5697 GB, free: 4.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4304, allocations: 0.875 MB / 0.5706 GB, free: 4.031 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006608/0.437, allocations: 9.291 MB / 0.5797 GB, free: 6.891 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.447, allocations: 11.13 MB / 0.5905 GB, free: 7.934 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.4471, allocations: 64 kB / 0.5906 GB, free: 7.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=1230) (initialization): time 0.009086/0.4562, allocations: 7.32 MB / 0.5977 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.4563, allocations: 117.7 kB / 0.5978 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/0.4564, allocations: 200.1 kB / 0.598 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3347/0.7912, allocations: 268.7 kB / 0.5983 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004659/0.7958, allocations: 2.194 MB / 0.6004 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001906/0.796, allocations: 396.8 kB / 0.6008 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/0.801, allocations: 431.5 kB / 0.6012 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000941/0.802, allocations: 489 kB / 0.6017 GB, free: 120.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * Number of states: 0 () * Number of discrete variables: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1205): * Single equations (assignments): 1201 * Array equations: 3 * Algorithm blocks: 1 * 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.002227/0.8042, allocations: 0.9498 MB / 0.6026 GB, free: 120.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/0.805, allocations: 0.5661 MB / 0.6032 GB, free: 120.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.8067, allocations: 1.59 MB / 0.6047 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.8067, allocations: 32.06 kB / 0.6048 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8067, allocations: 3.094 kB / 0.6048 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.8067, allocations: 12.05 kB / 0.6048 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.8186, allocations: 8.955 MB / 0.6135 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/0.8187, allocations: 32.25 kB / 0.6135 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.8198, allocations: 0.5413 MB / 0.6141 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.64e-05/0.8198, allocations: 45.62 kB / 0.6141 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.82, allocations: 101.3 kB / 0.6142 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.916e-05/0.82, allocations: 70.62 kB / 0.6143 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.621e-05/0.82, allocations: 48.59 kB / 0.6143 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/0.8232, allocations: 3.691 MB / 0.6179 GB, free: 116 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009051/0.8241, allocations: 495.7 kB / 0.6184 GB, free: 115.8 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.8245, allocations: 93.92 kB / 0.6185 GB, free: 115.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.8254, allocations: 109.9 kB / 0.6186 GB, free: 115.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.8256, allocations: 283.6 kB / 0.6189 GB, free: 115.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.8258, allocations: 107.9 kB / 0.619 GB, free: 115.8 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001889/0.8276, allocations: 1.936 MB / 0.6209 GB, free: 115.5 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8276, allocations: 0 / 0.6209 GB, free: 115.5 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005682/0.8333, allocations: 1.562 MB / 0.6224 GB, free: 115.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007307/0.8341, allocations: 277.9 kB / 0.6227 GB, free: 115.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.00644/0.8405, allocations: 3.957 MB / 0.6265 GB, free: 114.5 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.476e-05/0.8405, allocations: 4.281 kB / 0.6265 GB, free: 114.5 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.8418, allocations: 0.776 MB / 0.6273 GB, free: 114.3 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/0.8451, allocations: 0.6913 MB / 0.628 GB, free: 114 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.8628, allocations: 12.72 MB / 0.6404 GB, free: 106.7 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.8648, allocations: 1.96 MB / 0.6423 GB, free: 106.1 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.00231/0.8672, allocations: 0.7663 MB / 0.643 GB, free: 105.9 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/0.8684, allocations: 0.8926 MB / 0.6439 GB, free: 105.8 MB / 458.8 MB Notification: Performance of SimCode: time 1.793e-06/0.8684, allocations: 0 / 0.6439 GB, free: 105.8 MB / 458.8 MB Notification: Performance of Templates: time 0.06404/0.9324, allocations: 40.42 MB / 0.6834 GB, free: 72.01 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.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.410934946965426]