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.001023/0.001023, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001274/0.001274, allocations: 163.4 kB / 24.84 MB, free: 8.711 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.9699/0.9699, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.156/0.156, allocations: 32.37 MB / 271.5 MB, free: 14.41 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.713e-06/1.713e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.677e-05, allocations: 6.312 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01271/0.01274, allocations: 16.53 MB / 365.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02275, allocations: 5.099 MB / 370.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.02464, allocations: 119.5 kB / 370.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005499/0.03014, allocations: 5.552 MB / 376.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004835/0.03497, allocations: 2.938 MB / 379.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.03705, allocations: 1.318 MB / 380.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006983/0.04404, allocations: 8.002 MB / 388.5 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005169/0.04921, allocations: 6.211 MB / 394.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.05353, allocations: 4.44 MB / 399.1 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004/0.05753, allocations: 4.306 MB / 403.4 MB, free: 2.402 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007154/0.05824, allocations: 0.6211 MB / 404.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.05994, allocations: 1.307 MB / 405.4 MB, free: 484 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002427/0.06237, allocations: 3.772 MB / 409.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.06428, allocations: 2.395 MB / 411.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006629/0.07091, allocations: 7.853 MB / 419.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.07091, allocations: 0 / 419.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.07092, allocations: 0 / 419.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.922e-05/0.07102, allocations: 4 kB / 419.4 MB, free: 2.398 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.00895/0.07997, allocations: 8.552 MB / 427.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.08001, allocations: 8.031 kB / 428 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005839/0.08585, allocations: 2.598 MB / 430.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.08915, allocations: 3.164 MB / 433.7 MB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.08936, allocations: 456 kB / 434.2 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005878/0.08995, allocations: 0.5898 MB / 434.7 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.291/0.3809, allocations: 10.48 MB / 445.2 MB, free: 57.96 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/0.381, allocations: 74.45 kB / 445.3 MB, free: 57.96 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004564/0.3815, allocations: 281.3 kB / 445.6 MB, free: 57.96 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003235/0.3847, allocations: 3.147 MB / 448.7 MB, free: 57.95 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.3962, allocations: 4.971 MB / 453.7 MB, free: 57.8 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04093/0.4371, allocations: 72.96 MB / 0.5143 GB, free: 8.816 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008182/0.4453, allocations: 3.778 MB / 0.518 GB, free: 5.066 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.4465, allocations: 0.866 MB / 0.5188 GB, free: 4.203 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007893/0.4544, allocations: 5.791 MB / 0.5245 GB, free: 14.7 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.4544, allocations: 70.28 kB / 0.5246 GB, free: 14.63 MB / 394.8 MB Notification: Performance of pre-optimization done (n=296): time 4.208e-06/0.4544, allocations: 3.281 kB / 0.5246 GB, free: 14.63 MB / 394.8 MB Notification: Performance of matching and sorting (n=330): time 0.02621/0.4807, allocations: 12.24 MB / 0.5365 GB, free: 2.812 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.4807, allocations: 169.3 kB / 0.5367 GB, free: 2.617 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/0.485, allocations: 5.164 MB / 0.5417 GB, free: 14.45 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.4852, allocations: 69.7 kB / 0.5418 GB, free: 14.38 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0026/0.4878, allocations: 5.677 MB / 0.5473 GB, free: 8.949 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/0.4886, allocations: 1.337 MB / 0.5486 GB, free: 7.68 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/0.4904, allocations: 2.13 MB / 0.5507 GB, free: 5.754 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4905, allocations: 478.4 kB / 0.5512 GB, free: 5.285 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4919, allocations: 0.9214 MB / 0.5521 GB, free: 4.359 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005631/0.4975, allocations: 9.707 MB / 0.5616 GB, free: 7.02 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007877/0.5054, allocations: 11.67 MB / 0.573 GB, free: 7.953 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.128e-05/0.5054, allocations: 60 kB / 0.573 GB, free: 7.895 MB / 442.8 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.00825/0.5137, allocations: 7.698 MB / 0.5805 GB, free: 164 kB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.441e-05/0.5138, allocations: 96 kB / 0.5806 GB, free: 68 kB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/0.5139, allocations: 208 kB / 0.5808 GB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.5141, allocations: 276 kB / 0.5811 GB, free: 15.59 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/0.5177, allocations: 2.344 MB / 0.5834 GB, free: 13.25 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001985/0.5179, allocations: 418.4 kB / 0.5838 GB, free: 12.84 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.5209, allocations: 435.6 kB / 0.5842 GB, free: 12.41 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000423/0.5214, allocations: 0.5 MB / 0.5847 GB, free: 11.91 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 952 * 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 (1285): * Single equations (assignments): 1282 * 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.001692/0.523, allocations: 0.9935 MB / 0.5856 GB, free: 10.9 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005462/0.5236, allocations: 0.6021 MB / 0.5862 GB, free: 10.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.5257, allocations: 1.824 MB / 0.588 GB, free: 8.426 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.5258, allocations: 36 kB / 0.5881 GB, free: 8.391 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5258, allocations: 0 / 0.5881 GB, free: 8.391 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.5258, allocations: 15.89 kB / 0.5881 GB, free: 8.375 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1685/0.6943, allocations: 9.784 MB / 0.5976 GB, free: 148.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/0.6943, allocations: 35.02 kB / 0.5977 GB, free: 148.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.6956, allocations: 0.5863 MB / 0.5982 GB, free: 148.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.806e-05/0.6956, allocations: 51.62 kB / 0.5983 GB, free: 148.4 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.6958, allocations: 106.2 kB / 0.5984 GB, free: 148.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-05/0.6958, allocations: 66.52 kB / 0.5984 GB, free: 148.4 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-05/0.6958, allocations: 53.91 kB / 0.5985 GB, free: 148.4 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/0.6994, allocations: 4.335 MB / 0.6027 GB, free: 145.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.7004, allocations: 0.696 MB / 0.6034 GB, free: 145.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/0.7009, allocations: 99.52 kB / 0.6035 GB, free: 145.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7019, allocations: 104.5 kB / 0.6036 GB, free: 145.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.7022, allocations: 314.4 kB / 0.6039 GB, free: 145.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.7023, allocations: 111.3 kB / 0.604 GB, free: 145.6 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002185/0.7045, allocations: 2.038 MB / 0.606 GB, free: 145.4 MB / 458.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7045, allocations: 0 / 0.606 GB, free: 145.4 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004834/0.7094, allocations: 1.713 MB / 0.6077 GB, free: 145.4 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.000364/0.7097, allocations: 302.1 kB / 0.608 GB, free: 145.3 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003645/0.7134, allocations: 4.151 MB / 0.612 GB, free: 144.6 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.7134, allocations: 5.344 kB / 0.612 GB, free: 144.6 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007313/0.7141, allocations: 0.8813 MB / 0.6129 GB, free: 144.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.7161, allocations: 0.6845 MB / 0.6135 GB, free: 144.4 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.7303, allocations: 13.91 MB / 0.6271 GB, free: 136.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.7321, allocations: 2.13 MB / 0.6292 GB, free: 135.3 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002008/0.7341, allocations: 0.8288 MB / 0.63 GB, free: 134.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.7352, allocations: 0.9362 MB / 0.6309 GB, free: 133.8 MB / 458.8 MB Notification: Performance of SimCode: time 2.214e-06/0.7352, allocations: 0 / 0.6309 GB, free: 133.8 MB / 458.8 MB Notification: Performance of Templates: time 0.06265/0.7979, allocations: 44.26 MB / 0.6742 GB, free: 91.55 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.322264164220542]