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.0009708/0.0009708, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001397/0.001397, allocations: 169.1 kB / 24.91 MB, free: 9.191 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 0.9598/0.9598, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2528/0.2528, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.342e-06/1.342e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.796e-05, allocations: 3.891 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01075/0.01077, allocations: 15.11 MB / 338.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007803/0.01857, allocations: 5.102 MB / 343.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000952/0.01953, allocations: 111.5 kB / 343.6 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004826/0.02435, allocations: 5.552 MB / 349.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.0277, allocations: 2.647 MB / 351.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.02929, allocations: 1.322 MB / 353.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004964/0.03425, allocations: 7.7 MB / 360.8 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003912/0.03816, allocations: 6.098 MB / 366.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.04132, allocations: 4.113 MB / 371 MB, free: 9.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/0.04417, allocations: 3.803 MB / 374.8 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000498/0.04467, allocations: 0.5703 MB / 375.4 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.04596, allocations: 1.245 MB / 376.6 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.04769, allocations: 3.44 MB / 380.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.04913, allocations: 2.185 MB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004623/0.05375, allocations: 7.149 MB / 389.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.05375, allocations: 0 / 389.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.05375, allocations: 0 / 389.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.132e-05/0.05381, allocations: 0 / 389.4 MB, free: 7.246 MB / 362.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.006099/0.0599, allocations: 7.109 MB / 396.5 MB, free: 72 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.05994, allocations: 11.97 kB / 396.5 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.06381, allocations: 1.76 MB / 398.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.06663, allocations: 2.741 MB / 401 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.06685, allocations: 423.3 kB / 401.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005938/0.06745, allocations: 0.5586 MB / 402 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.07745, allocations: 8.824 MB / 410.8 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.07757, allocations: 67.44 kB / 410.9 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.07798, allocations: 271.7 kB / 411.1 MB, free: 212 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002665/0.08065, allocations: 2.787 MB / 413.9 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.09154, allocations: 4.507 MB / 418.4 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3074/0.3989, allocations: 49.93 MB / 468.4 MB, free: 53.68 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006248/0.4052, allocations: 3.302 MB / 471.7 MB, free: 53.45 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007606/0.4059, allocations: 0.6573 MB / 472.3 MB, free: 53.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006126/0.4121, allocations: 5.059 MB / 477.4 MB, free: 52.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4121, allocations: 63.56 kB / 477.4 MB, free: 52.44 MB / 410.8 MB Notification: Performance of pre-optimization done (n=257): time 3.997e-06/0.4121, allocations: 0 / 477.4 MB, free: 52.44 MB / 410.8 MB Notification: Performance of matching and sorting (n=291): time 0.01949/0.4316, allocations: 10.34 MB / 487.8 MB, free: 51.53 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.4316, allocations: 154.4 kB / 487.9 MB, free: 51.37 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.4345, allocations: 4.464 MB / 492.4 MB, free: 49.04 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/0.4346, allocations: 72.64 kB / 492.5 MB, free: 49 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.4358, allocations: 4.812 MB / 497.3 MB, free: 44.98 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.4362, allocations: 1.155 MB / 498.4 MB, free: 44.03 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.4373, allocations: 1.756 MB / 0.4885 GB, free: 43.02 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.435e-05/0.4373, allocations: 309.1 kB / 0.4888 GB, free: 42.71 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4387, allocations: 1.08 MB / 0.4898 GB, free: 41.84 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.4411, allocations: 6.577 MB / 0.4962 GB, free: 33.04 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00416/0.4453, allocations: 8.553 MB / 0.5046 GB, free: 23 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-05/0.4453, allocations: 56 kB / 0.5046 GB, free: 22.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.00517/0.4505, allocations: 6.134 MB / 0.5106 GB, free: 17.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.402e-05/0.4505, allocations: 92 kB / 0.5107 GB, free: 17.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.639e-05/0.4506, allocations: 200.8 kB / 0.5109 GB, free: 17.46 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.4507, allocations: 267 kB / 0.5112 GB, free: 17.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/0.4539, allocations: 2.187 MB / 0.5133 GB, free: 15.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001217/0.454, allocations: 394.5 kB / 0.5137 GB, free: 14.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/0.4571, allocations: 419.6 kB / 0.5141 GB, free: 14.22 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/0.4574, allocations: 484 kB / 0.5145 GB, free: 13.75 MB / 410.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: 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.001532/0.459, allocations: 0.8978 MB / 0.5154 GB, free: 12.84 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.4593, allocations: 349.6 kB / 0.5158 GB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.4605, allocations: 1.312 MB / 0.517 GB, free: 11.18 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.4605, allocations: 32 kB / 0.5171 GB, free: 11.14 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4605, allocations: 4 kB / 0.5171 GB, free: 11.14 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.4605, allocations: 14.89 kB / 0.5171 GB, free: 11.13 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006991/0.4675, allocations: 7.782 MB / 0.5247 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.4676, allocations: 32 kB / 0.5247 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.4684, allocations: 0.5234 MB / 0.5252 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/0.4685, allocations: 44 kB / 0.5253 GB, free: 3.152 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.4685, allocations: 87.98 kB / 0.5254 GB, free: 3.066 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/0.4686, allocations: 59.8 kB / 0.5254 GB, free: 3.008 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/0.4686, allocations: 59.67 kB / 0.5255 GB, free: 2.949 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.4707, allocations: 3.393 MB / 0.5288 GB, free: 14.99 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.4712, allocations: 485.8 kB / 0.5292 GB, free: 14.52 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.4715, allocations: 95.97 kB / 0.5293 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008921/0.4723, allocations: 98.94 kB / 0.5294 GB, free: 14.33 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.4725, allocations: 279.8 kB / 0.5297 GB, free: 14.06 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/0.4726, allocations: 99.98 kB / 0.5298 GB, free: 13.96 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001439/0.4741, allocations: 1.849 MB / 0.5316 GB, free: 12.32 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.4741, allocations: 0 / 0.5316 GB, free: 12.32 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.003995/0.4781, allocations: 1.549 MB / 0.5331 GB, free: 10.77 MB / 426.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.0003566/0.4784, allocations: 262.9 kB / 0.5334 GB, free: 10.51 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.4817, allocations: 3.611 MB / 0.5369 GB, free: 7.023 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001855/0.4819, allocations: 132.1 kB / 0.537 GB, free: 6.883 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.4825, allocations: 0.7114 MB / 0.5377 GB, free: 6.195 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4845, allocations: 0.6626 MB / 0.5384 GB, free: 5.562 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.4968, allocations: 12.59 MB / 0.5507 GB, free: 8.504 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.4984, allocations: 1.939 MB / 0.5525 GB, free: 6.543 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001647/0.5, allocations: 0.7694 MB / 0.5533 GB, free: 5.777 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.5011, allocations: 0.8342 MB / 0.5541 GB, free: 4.949 MB / 442.8 MB Notification: Performance of SimCode: time 1.162e-06/0.5011, allocations: 0 / 0.5541 GB, free: 4.949 MB / 442.8 MB Notification: Performance of Templates: time 0.06039/0.5615, allocations: 39.3 MB / 0.5925 GB, free: 14.28 MB / 490.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: 4.641764670144767]