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.0006626/0.0006626, allocations: 84.44 kB / 20.7 MB, free: 3.875 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.0007686/0.0007686, allocations: 169.9 kB / 23.96 MB, free: 0.6055 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.871/0.871, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1272/0.1272, allocations: 32.38 MB / 270.4 MB, free: 14.97 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.1.|body.v_0.1.|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.1.|body.v_0.1.|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.854e-06/1.854e-06, allocations: 0 / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.38e-05, allocations: 10.02 kB / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01067/0.01069, allocations: 15.27 MB / 423.4 MB, free: 2.363 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008098/0.01879, allocations: 5.017 MB / 428.4 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.02022, allocations: 123.5 kB / 428.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.02497, allocations: 5.381 MB / 433.9 MB, free: 7.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.02899, allocations: 2.907 MB / 436.8 MB, free: 4.887 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.03052, allocations: 1.31 MB / 438.1 MB, free: 3.574 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00625/0.03677, allocations: 7.997 MB / 446.1 MB, free: 11.55 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.04106, allocations: 6.029 MB / 452.2 MB, free: 5.449 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.04521, allocations: 4.323 MB / 456.5 MB, free: 1.117 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.04892, allocations: 4.357 MB / 460.8 MB, free: 12.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007171/0.04964, allocations: 0.6367 MB / 461.5 MB, free: 12.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.05122, allocations: 1.315 MB / 462.8 MB, free: 10.8 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002039/0.05326, allocations: 3.763 MB / 466.6 MB, free: 7.023 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002105/0.05536, allocations: 2.407 MB / 469 MB, free: 4.605 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1931/0.2485, allocations: 12.38 MB / 481.3 MB, free: 63.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2485, allocations: 0 / 481.3 MB, free: 63.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2485, allocations: 0 / 481.3 MB, free: 63.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000301/0.2488, allocations: 0 / 481.3 MB, free: 63.97 MB / 442.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.008852/0.2576, allocations: 8.412 MB / 489.8 MB, free: 60.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2577, allocations: 9.344 kB / 489.8 MB, free: 60.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005504/0.2632, allocations: 2.83 MB / 492.6 MB, free: 60.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004181/0.2674, allocations: 3.868 MB / 496.5 MB, free: 59.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.2676, allocations: 461 kB / 496.9 MB, free: 59.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006084/0.2682, allocations: 0.5876 MB / 497.5 MB, free: 59.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/0.2943, allocations: 21.36 MB / 0.5067 GB, free: 52.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002214/0.2945, allocations: 76.27 kB / 0.5068 GB, free: 52.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005458/0.2951, allocations: 282.9 kB / 0.507 GB, free: 52.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00298/0.2981, allocations: 3.549 MB / 0.5105 GB, free: 51.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/0.3203, allocations: 17.19 MB / 0.5273 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04825/0.3685, allocations: 63.28 MB / 0.5891 GB, free: 13.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.3787, allocations: 6.288 MB / 0.5952 GB, free: 6.727 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/0.3811, allocations: 2.124 MB / 0.5973 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.3918, allocations: 8.31 MB / 0.6054 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.3919, allocations: 64.25 kB / 0.6055 GB, free: 12.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=296): time 4.228e-06/0.3919, allocations: 0 / 0.6055 GB, free: 12.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=330): time 0.03646/0.4283, allocations: 23.96 MB / 0.6289 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.4284, allocations: 164.2 kB / 0.629 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005813/0.4342, allocations: 5.88 MB / 0.6348 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.4343, allocations: 80.12 kB / 0.6349 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002422/0.4368, allocations: 5.386 MB / 0.6401 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007976/0.4376, allocations: 1.295 MB / 0.6414 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/0.4392, allocations: 1.915 MB / 0.6432 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.4393, allocations: 305.1 kB / 0.6435 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/0.4425, allocations: 2.85 MB / 0.6463 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006956/0.4495, allocations: 8.672 MB / 0.6548 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1999/0.6494, allocations: 12.52 MB / 0.667 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00018/0.6496, allocations: 58.69 kB / 0.6671 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.0145/0.6641, allocations: 11.23 MB / 0.678 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.36e-05/0.6642, allocations: 96.25 kB / 0.6781 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/0.6644, allocations: 204.2 kB / 0.6783 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.6646, allocations: 274.7 kB / 0.6786 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004049/0.6687, allocations: 2.355 MB / 0.6809 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002622/0.6689, allocations: 405.9 kB / 0.6813 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/0.6729, allocations: 0.571 MB / 0.6818 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004962/0.6734, allocations: 0.575 MB / 0.6824 GB, free: 163.1 MB / 0.5261 GB 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.004269/0.6777, allocations: 3.388 MB / 0.6857 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/0.6783, allocations: 0.5106 MB / 0.6862 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.6822, allocations: 3.386 MB / 0.6895 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/0.6823, allocations: 34.67 kB / 0.6895 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.6823, allocations: 1.25 kB / 0.6895 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.6823, allocations: 22.11 kB / 0.6896 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.6957, allocations: 11.44 MB / 0.7007 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/0.6958, allocations: 33.7 kB / 0.7008 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.6969, allocations: 0.6142 MB / 0.7014 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.908e-05/0.6969, allocations: 54.64 kB / 0.7014 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.6971, allocations: 102.4 kB / 0.7015 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.668e-05/0.6971, allocations: 65.84 kB / 0.7016 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-05/0.6971, allocations: 54.81 kB / 0.7016 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/0.7019, allocations: 6.194 MB / 0.7077 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.7031, allocations: 0.781 MB / 0.7084 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.7034, allocations: 99.84 kB / 0.7085 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.7046, allocations: 221 kB / 0.7087 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.7048, allocations: 307.7 kB / 0.709 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.7049, allocations: 130.4 kB / 0.7092 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002933/0.7078, allocations: 3.393 MB / 0.7125 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7078, allocations: 0 / 0.7125 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004967/0.7128, allocations: 1.705 MB / 0.7141 GB, free: 147.6 MB / 0.5261 GB 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.0004065/0.7132, allocations: 305.5 kB / 0.7144 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006416/0.7196, allocations: 6.313 MB / 0.7206 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/0.7196, allocations: 8 kB / 0.7206 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.721, allocations: 1.485 MB / 0.7221 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.7235, allocations: 0.6392 MB / 0.7227 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.7403, allocations: 16.34 MB / 0.7386 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003822/0.7442, allocations: 4.642 MB / 0.7432 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.7454, allocations: 476.4 kB / 0.7436 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/0.7454, allocations: 0 / 0.7436 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.07803/0.8234, allocations: 92.18 MB / 0.8336 GB, free: 26.22 MB / 0.5261 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.851738139986992]