Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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.0009402/0.0009402, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009375/0.0009375, allocations: 165 kB / 23.8 MB, free: 0.7734 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.8382/0.8382, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1254/0.1254, allocations: 32.38 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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.554e-05, allocations: 6.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01131/0.01133, allocations: 17.03 MB / 364.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.02174, allocations: 5.181 MB / 369.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.02404, allocations: 123.4 kB / 370 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005562/0.0296, allocations: 5.642 MB / 375.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004598/0.0342, allocations: 2.931 MB / 378.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.03625, allocations: 1.341 MB / 379.9 MB, free: 9.055 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00683/0.04308, allocations: 8.048 MB / 388 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005665/0.04874, allocations: 6.231 MB / 394.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0051/0.05384, allocations: 4.358 MB / 398.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/0.05798, allocations: 4.447 MB / 403 MB, free: 1.855 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000719/0.0587, allocations: 0.6406 MB / 403.7 MB, free: 1.215 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.06035, allocations: 1.323 MB / 405 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002406/0.06276, allocations: 3.803 MB / 408.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.06468, allocations: 2.43 MB / 411.2 MB, free: 9.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006624/0.0713, allocations: 7.951 MB / 419.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.0713, allocations: 0 / 419.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07131, allocations: 0 / 419.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.727e-05/0.0714, allocations: 0 / 419.2 MB, free: 1.66 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.008567/0.07997, allocations: 9.05 MB / 428.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.08001, allocations: 8.031 kB / 428.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/0.08684, allocations: 3.733 MB / 432 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004594/0.09144, allocations: 3.528 MB / 435.5 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.09167, allocations: 452 kB / 435.9 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00071/0.09238, allocations: 0.5899 MB / 436.5 MB, free: 152 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.283/0.3754, allocations: 14.11 MB / 450.6 MB, free: 77.37 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.3755, allocations: 78.05 kB / 450.7 MB, free: 77.36 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004349/0.3759, allocations: 283.2 kB / 451 MB, free: 77.36 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002779/0.3787, allocations: 3.537 MB / 454.5 MB, free: 75.33 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.3938, allocations: 8.701 MB / 463.2 MB, free: 66.9 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/0.4359, allocations: 74.15 MB / 0.5248 GB, free: 7.547 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009475/0.4454, allocations: 4.702 MB / 0.5294 GB, free: 2.805 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.4469, allocations: 0.9926 MB / 0.5303 GB, free: 1.793 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008844/0.4557, allocations: 6.125 MB / 0.5363 GB, free: 11.89 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007169/0.4629, allocations: 3.932 MB / 0.5401 GB, free: 7.867 MB / 394.8 MB Notification: Performance of pre-optimization done (n=299): time 4.428e-06/0.4629, allocations: 0 / 0.5401 GB, free: 7.867 MB / 394.8 MB Notification: Performance of matching and sorting (n=333): time 0.03486/0.4978, allocations: 19.21 MB / 0.5589 GB, free: 4.965 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.4979, allocations: 166.7 kB / 0.5591 GB, free: 4.77 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005341/0.5032, allocations: 5.153 MB / 0.5641 GB, free: 15.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.5034, allocations: 79.19 kB / 0.5642 GB, free: 15.68 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003521/0.5069, allocations: 5.6 MB / 0.5696 GB, free: 10.12 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.5081, allocations: 1.332 MB / 0.5709 GB, free: 8.805 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/0.5098, allocations: 2.063 MB / 0.573 GB, free: 6.73 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5099, allocations: 476.8 kB / 0.5734 GB, free: 6.262 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.5115, allocations: 1.063 MB / 0.5745 GB, free: 5.188 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006713/0.5182, allocations: 9.632 MB / 0.5839 GB, free: 7.625 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1722/0.6904, allocations: 11.78 MB / 0.5954 GB, free: 126.7 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/0.6905, allocations: 56.72 kB / 0.5954 GB, free: 126.7 MB / 442.8 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01078/0.7013, allocations: 8.237 MB / 0.6035 GB, free: 125.1 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.7014, allocations: 124 kB / 0.6036 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/0.7016, allocations: 207.8 kB / 0.6038 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.7017, allocations: 273.2 kB / 0.604 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/0.7057, allocations: 2.373 MB / 0.6064 GB, free: 124.8 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001668/0.7058, allocations: 407.9 kB / 0.6067 GB, free: 124.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/0.7092, allocations: 0.5942 MB / 0.6073 GB, free: 124.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/0.7097, allocations: 0.5711 MB / 0.6079 GB, free: 124.7 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: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * 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.001667/0.7113, allocations: 0.977 MB / 0.6088 GB, free: 124.4 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004742/0.7118, allocations: 0.6096 MB / 0.6094 GB, free: 124.4 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.7144, allocations: 2.026 MB / 0.6114 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.7145, allocations: 31.56 kB / 0.6114 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7145, allocations: 3.969 kB / 0.6114 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.7145, allocations: 17.06 kB / 0.6115 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00984/0.7243, allocations: 9.946 MB / 0.6212 GB, free: 119.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.7244, allocations: 35 kB / 0.6212 GB, free: 119.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.7255, allocations: 0.6246 MB / 0.6218 GB, free: 119.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-05/0.7255, allocations: 48 kB / 0.6219 GB, free: 119.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.7256, allocations: 101 kB / 0.622 GB, free: 119.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.32e-05/0.7257, allocations: 67.41 kB / 0.622 GB, free: 119.1 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/0.7257, allocations: 54.94 kB / 0.6221 GB, free: 119 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.7286, allocations: 4.283 MB / 0.6263 GB, free: 114.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/0.7294, allocations: 0.7494 MB / 0.627 GB, free: 114.2 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/0.7297, allocations: 99.22 kB / 0.6271 GB, free: 114.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.7308, allocations: 211.2 kB / 0.6273 GB, free: 114 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.731, allocations: 316.5 kB / 0.6276 GB, free: 113.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.7311, allocations: 131.8 kB / 0.6277 GB, free: 113.7 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001781/0.7329, allocations: 2.182 MB / 0.6298 GB, free: 111.9 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7329, allocations: 0 / 0.6298 GB, free: 111.9 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004061/0.737, allocations: 1.714 MB / 0.6315 GB, free: 110.2 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003819/0.7374, allocations: 313.7 kB / 0.6318 GB, free: 109.9 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.004112/0.7415, allocations: 4.483 MB / 0.6362 GB, free: 106 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.7415, allocations: 8 kB / 0.6362 GB, free: 106 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008654/0.7423, allocations: 0.9604 MB / 0.6371 GB, free: 105.1 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.7443, allocations: 0.7023 MB / 0.6378 GB, free: 104.5 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.7564, allocations: 13.98 MB / 0.6515 GB, free: 90.95 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.758, allocations: 2.141 MB / 0.6536 GB, free: 88.94 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003255/0.7612, allocations: 2.367 MB / 0.6559 GB, free: 86.56 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.7618, allocations: 400.4 kB / 0.6563 GB, free: 86.17 MB / 442.8 MB Notification: Performance of SimCode: time 1.162e-06/0.7618, allocations: 0 / 0.6563 GB, free: 86.17 MB / 442.8 MB Notification: Performance of Templates: time 0.05257/0.8144, allocations: 39.39 MB / 0.6947 GB, free: 46.99 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.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.182205493096262]