Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001038/0.001038, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001273/0.001273, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8576/0.8576, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1267/0.1267, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.671e-05, allocations: 6.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0119/0.01193, allocations: 16.97 MB / 364.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009724/0.02165, allocations: 5.138 MB / 369.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003417/0.02507, allocations: 119.5 kB / 369.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007153/0.03222, allocations: 5.642 MB / 375.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008208/0.04043, allocations: 2.919 MB / 378.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.04308, allocations: 1.329 MB / 379.8 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008948/0.05203, allocations: 7.991 MB / 387.8 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006952/0.05898, allocations: 6.215 MB / 394 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007544/0.06652, allocations: 4.339 MB / 398.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006435/0.07296, allocations: 4.423 MB / 402.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001978/0.07494, allocations: 0.6367 MB / 403.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.07778, allocations: 1.315 MB / 404.7 MB, free: 156 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003298/0.08108, allocations: 3.795 MB / 408.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004154/0.08524, allocations: 2.415 MB / 410.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009685/0.09492, allocations: 7.92 MB / 418.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.09493, allocations: 0 / 418.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.09493, allocations: 0 / 418.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003823/0.09531, allocations: 0 / 418.8 MB, free: 1.973 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01345/0.1088, allocations: 8.967 MB / 427.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1088, allocations: 12.03 kB / 427.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008445/0.1173, allocations: 3.729 MB / 431.6 MB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006131/0.1234, allocations: 3.508 MB / 435.1 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/0.1237, allocations: 456 kB / 435.5 MB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.1252, allocations: 0.5937 MB / 436.1 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3125/0.4377, allocations: 14.09 MB / 450.2 MB, free: 57.01 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.4379, allocations: 66.42 kB / 450.3 MB, free: 57.01 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005639/0.4385, allocations: 282.8 kB / 450.5 MB, free: 57.01 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003056/0.4415, allocations: 3.54 MB / 454.1 MB, free: 57 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02044/0.462, allocations: 8.691 MB / 462.8 MB, free: 53.28 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06275/0.5247, allocations: 74.11 MB / 0.5243 GB, free: 11.98 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.5358, allocations: 4.669 MB / 0.5288 GB, free: 7.273 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.5386, allocations: 1.004 MB / 0.5298 GB, free: 6.262 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.5506, allocations: 6.102 MB / 0.5358 GB, free: 404 kB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/0.5506, allocations: 71.39 kB / 0.5359 GB, free: 324 kB / 394.8 MB Notification: Performance of pre-optimization done (n=296): time 6.091e-06/0.5506, allocations: 0 / 0.5359 GB, free: 324 kB / 394.8 MB Notification: Performance of matching and sorting (n=330): time 0.03933/0.59, allocations: 19.14 MB / 0.5545 GB, free: 13.53 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.59, allocations: 158.7 kB / 0.5547 GB, free: 13.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005657/0.5957, allocations: 5.136 MB / 0.5597 GB, free: 8.344 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006102/0.5963, allocations: 73.7 kB / 0.5598 GB, free: 8.266 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003281/0.5996, allocations: 5.612 MB / 0.5653 GB, free: 2.695 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.6012, allocations: 1.325 MB / 0.5666 GB, free: 1.387 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/0.6035, allocations: 2.058 MB / 0.5686 GB, free: 15.32 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6036, allocations: 476.8 kB / 0.569 GB, free: 14.85 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.6055, allocations: 1.023 MB / 0.57 GB, free: 13.82 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/0.6115, allocations: 9.589 MB / 0.5794 GB, free: 404 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009961/0.6215, allocations: 11.75 MB / 0.5909 GB, free: 1.047 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002338/0.6217, allocations: 60 kB / 0.5909 GB, free: 0.9883 MB / 458.8 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.1883/0.8101, allocations: 8.152 MB / 0.5989 GB, free: 147.3 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.8103, allocations: 92.12 kB / 0.599 GB, free: 147.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002679/0.8105, allocations: 202.9 kB / 0.5992 GB, free: 147.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.8108, allocations: 274 kB / 0.5994 GB, free: 147.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005089/0.8159, allocations: 2.363 MB / 0.6017 GB, free: 147.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000474/0.8163, allocations: 413.5 kB / 0.6021 GB, free: 147 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005237/0.8216, allocations: 0.5802 MB / 0.6027 GB, free: 147 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/0.8229, allocations: 0.5746 MB / 0.6033 GB, free: 147 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1267): * Single equations (assignments): 1264 * 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.003162/0.826, allocations: 0.9764 MB / 0.6042 GB, free: 146.6 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009613/0.827, allocations: 0.5961 MB / 0.6048 GB, free: 146.6 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/0.8298, allocations: 2.012 MB / 0.6068 GB, free: 146.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/0.8299, allocations: 35.19 kB / 0.6068 GB, free: 146.4 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.8299, allocations: 3.188 kB / 0.6068 GB, free: 146.4 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.8299, allocations: 15.42 kB / 0.6068 GB, free: 146.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/0.8463, allocations: 9.952 MB / 0.6165 GB, free: 143.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/0.8464, allocations: 36.03 kB / 0.6166 GB, free: 143.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.8477, allocations: 0.6021 MB / 0.6171 GB, free: 142.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.274e-05/0.8478, allocations: 48 kB / 0.6172 GB, free: 142.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.8479, allocations: 104.6 kB / 0.6173 GB, free: 142.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.837e-05/0.848, allocations: 66.84 kB / 0.6174 GB, free: 142.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/0.848, allocations: 51.75 kB / 0.6174 GB, free: 142.7 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/0.8521, allocations: 4.569 MB / 0.6219 GB, free: 138.3 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/0.8537, allocations: 0.7403 MB / 0.6226 GB, free: 138 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/0.8543, allocations: 105.2 kB / 0.6227 GB, free: 138 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.8557, allocations: 192.4 kB / 0.6229 GB, free: 137.9 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.8559, allocations: 317.3 kB / 0.6232 GB, free: 137.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.8561, allocations: 136.9 kB / 0.6233 GB, free: 137.6 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003045/0.8591, allocations: 2.172 MB / 0.6254 GB, free: 136.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8591, allocations: 0 / 0.6254 GB, free: 136.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00617/0.8653, allocations: 1.707 MB / 0.6271 GB, free: 134.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * 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.000629/0.8659, allocations: 306 kB / 0.6274 GB, free: 134.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.00652/0.8724, allocations: 4.376 MB / 0.6317 GB, free: 130.4 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.102e-05/0.8725, allocations: 7.062 kB / 0.6317 GB, free: 130.4 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.8737, allocations: 0.9498 MB / 0.6326 GB, free: 129.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.877, allocations: 0.6888 MB / 0.6333 GB, free: 129 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.8957, allocations: 13.96 MB / 0.6469 GB, free: 115.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/0.8982, allocations: 2.13 MB / 0.649 GB, free: 113.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004889/0.9031, allocations: 2.359 MB / 0.6513 GB, free: 111.3 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009846/0.9041, allocations: 404.4 kB / 0.6517 GB, free: 110.9 MB / 458.8 MB Notification: Performance of SimCode: time 2.475e-06/0.9041, allocations: 0 / 0.6517 GB, free: 110.9 MB / 458.8 MB Notification: Performance of Templates: time 0.06108/0.9651, allocations: 38.44 MB / 0.6892 GB, free: 72.68 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.25768085103482]