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.002133/0.002133, allocations: 92.2 kB / 20.21 MB, free: 4.199 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.002758/0.002758, allocations: 157.7 kB / 23.52 MB, free: 0.8945 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 1.445/1.445, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.2224/0.2224, allocations: 32.37 MB / 270 MB, free: 14.78 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 2.735e-06/2.735e-06, allocations: 0 / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.683e-05, allocations: 2.312 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01588/0.01592, allocations: 15.28 MB / 362.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.02981, allocations: 5.017 MB / 367.2 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.03321, allocations: 123.4 kB / 367.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.04543, allocations: 5.463 MB / 372.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.05619, allocations: 2.923 MB / 375.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003876/0.06006, allocations: 1.322 MB / 377.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.015/0.07506, allocations: 7.995 MB / 385.1 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01382/0.08889, allocations: 6.207 MB / 391.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01243/0.1013, allocations: 4.335 MB / 395.6 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008779/0.1101, allocations: 4.353 MB / 400 MB, free: 4.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003085/0.1132, allocations: 0.6367 MB / 400.6 MB, free: 3.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004636/0.1178, allocations: 1.315 MB / 401.9 MB, free: 2.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006254/0.1241, allocations: 3.763 MB / 405.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007343/0.1314, allocations: 2.403 MB / 408.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02244/0.1539, allocations: 12.38 MB / 420.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.001e-05/0.1539, allocations: 4 kB / 420.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1539, allocations: 0 / 420.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005382/0.1544, allocations: 0 / 420.5 MB, free: 15.97 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02374/0.1782, allocations: 8.413 MB / 428.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1782, allocations: 12.03 kB / 428.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.1939, allocations: 3.87 MB / 432.8 MB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.282/0.4759, allocations: 3.892 MB / 436.7 MB, free: 85.73 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005681/0.4765, allocations: 453.5 kB / 437.1 MB, free: 85.72 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/0.479, allocations: 0.5885 MB / 437.7 MB, free: 85.72 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03943/0.5185, allocations: 21.33 MB / 459 MB, free: 70.24 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/0.5187, allocations: 77.44 kB / 459.1 MB, free: 70.17 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/0.5198, allocations: 282.2 kB / 459.4 MB, free: 69.96 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004527/0.5243, allocations: 3.538 MB / 462.9 MB, free: 66.44 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.036/0.5603, allocations: 17.11 MB / 480 MB, free: 49.35 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08632/0.6466, allocations: 63.32 MB / 0.5306 GB, free: 1.09 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/0.6672, allocations: 6.24 MB / 0.5367 GB, free: 10.82 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004693/0.6719, allocations: 2.093 MB / 0.5387 GB, free: 8.723 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/0.6929, allocations: 8.282 MB / 0.5468 GB, free: 0.5625 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.378e-05/0.6929, allocations: 72.48 kB / 0.5469 GB, free: 496 kB / 394.8 MB Notification: Performance of pre-optimization done (n=296): time 6.683e-06/0.6929, allocations: 0 / 0.5469 GB, free: 496 kB / 394.8 MB Notification: Performance of matching and sorting (n=330): time 0.0776/0.7705, allocations: 23.99 MB / 0.5703 GB, free: 8.789 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.7707, allocations: 162.7 kB / 0.5705 GB, free: 8.598 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/0.7823, allocations: 5.872 MB / 0.5762 GB, free: 2.781 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008295/0.7831, allocations: 73.7 kB / 0.5763 GB, free: 2.703 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005784/0.7889, allocations: 5.397 MB / 0.5816 GB, free: 13.25 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002191/0.7911, allocations: 1.287 MB / 0.5828 GB, free: 11.96 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003558/0.7946, allocations: 1.922 MB / 0.5847 GB, free: 10.02 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7948, allocations: 301.1 kB / 0.585 GB, free: 9.727 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005999/0.8008, allocations: 2.854 MB / 0.5878 GB, free: 6.863 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2104/1.011, allocations: 8.667 MB / 0.5962 GB, free: 141.2 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/1.027, allocations: 12.51 MB / 0.6085 GB, free: 131.4 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000425/1.028, allocations: 62.56 kB / 0.6085 GB, free: 131.4 MB / 442.8 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02616/1.054, allocations: 11.75 MB / 0.62 GB, free: 127.1 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000542/1.054, allocations: 95.06 kB / 0.6201 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007163/1.055, allocations: 202.1 kB / 0.6203 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/1.056, allocations: 279.8 kB / 0.6205 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009003/1.065, allocations: 2.382 MB / 0.6229 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005173/1.065, allocations: 406.4 kB / 0.6233 GB, free: 126.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008479/1.074, allocations: 0.6357 MB / 0.6239 GB, free: 126.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001972/1.076, allocations: 0.5781 MB / 0.6244 GB, free: 126.3 MB / 442.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.007127/1.083, allocations: 3.39 MB / 0.6277 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001783/1.084, allocations: 0.5974 MB / 0.6283 GB, free: 123.2 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006973/1.091, allocations: 3.338 MB / 0.6316 GB, free: 120.3 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/1.092, allocations: 33.5 kB / 0.6316 GB, free: 120.2 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/1.092, allocations: 4 kB / 0.6316 GB, free: 120.2 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.995e-05/1.092, allocations: 17.34 kB / 0.6316 GB, free: 120.2 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02844/1.12, allocations: 11.43 MB / 0.6428 GB, free: 110.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001308/1.12, allocations: 32 kB / 0.6428 GB, free: 110.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003824/1.124, allocations: 0.6208 MB / 0.6434 GB, free: 109.6 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.298e-05/1.124, allocations: 48 kB / 0.6435 GB, free: 109.5 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004192/1.124, allocations: 99.98 kB / 0.6436 GB, free: 109.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.266e-05/1.125, allocations: 75.7 kB / 0.6437 GB, free: 109.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-05/1.125, allocations: 51.53 kB / 0.6437 GB, free: 109.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/1.138, allocations: 6.298 MB / 0.6499 GB, free: 102.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003778/1.141, allocations: 0.7816 MB / 0.6506 GB, free: 102.1 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002131/1.143, allocations: 102.9 kB / 0.6507 GB, free: 102 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005939/1.149, allocations: 235.7 kB / 0.6509 GB, free: 101.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007165/1.15, allocations: 312 kB / 0.6512 GB, free: 101.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004108/1.15, allocations: 132 kB / 0.6514 GB, free: 101.4 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009811/1.16, allocations: 3.39 MB / 0.6547 GB, free: 97.98 MB / 442.8 MB Notification: Performance of sort global known variables: time 3.11e-07/1.16, allocations: 0 / 0.6547 GB, free: 97.98 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01533/1.176, allocations: 1.704 MB / 0.6563 GB, free: 96.29 MB / 442.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.001192/1.177, allocations: 307.9 kB / 0.6566 GB, free: 96.01 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01127/1.188, allocations: 6.319 MB / 0.6628 GB, free: 89.73 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.881e-05/1.188, allocations: 4 kB / 0.6628 GB, free: 89.73 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00221/1.19, allocations: 1.483 MB / 0.6643 GB, free: 88.25 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005477/1.196, allocations: 0.6776 MB / 0.6649 GB, free: 87.6 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/1.222, allocations: 15.84 MB / 0.6804 GB, free: 71.25 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007382/1.229, allocations: 4.658 MB / 0.6849 GB, free: 66.55 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006416/1.235, allocations: 2.694 MB / 0.6876 GB, free: 63.86 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.237, allocations: 400.4 kB / 0.6879 GB, free: 63.46 MB / 442.8 MB Notification: Performance of SimCode: time 1.573e-06/1.237, allocations: 0 / 0.6879 GB, free: 63.46 MB / 442.8 MB Notification: Performance of Templates: time 0.07387/1.31, allocations: 38.71 MB / 0.7257 GB, free: 24.93 MB / 442.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=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: 8.242449507932179]