Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002598/0.002598, allocations: 352.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.51/3.51, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003573/0.003573, allocations: 225.2 kB / 397.9 MB, free: 4.906 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5225/0.5225, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004817, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08265/0.08316, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3932/0.4764, allocations: 76.02 MB / 0.681 GB, free: 36.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04868/0.5251, allocations: 15.14 MB / 0.6958 GB, free: 21.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01845/0.5437, allocations: 351.2 kB / 0.6961 GB, free: 21.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01238/0.5561, allocations: 3.698 MB / 0.6997 GB, free: 17.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03783/0.594, allocations: 12.5 MB / 0.7119 GB, free: 4.945 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006557/0.6006, allocations: 1.073 MB / 0.713 GB, free: 3.875 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01463/0.6153, allocations: 8.115 MB / 0.7209 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02521/0.6405, allocations: 8.514 MB / 0.7292 GB, free: 3.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006534/0.6471, allocations: 2.113 MB / 0.7313 GB, free: 1.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.6575, allocations: 3.552 MB / 0.7347 GB, free: 13.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0026/0.6601, allocations: 272 kB / 0.735 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005284/0.6655, allocations: 0.8583 MB / 0.7358 GB, free: 12.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007259/0.6728, allocations: 2.996 MB / 0.7388 GB, free: 9.547 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004236/0.6771, allocations: 1.407 MB / 0.7401 GB, free: 8.129 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.6964, allocations: 9.27 MB / 0.7492 GB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.6965, allocations: 0 / 0.7492 GB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.6965, allocations: 0 / 0.7492 GB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004284/0.697, allocations: 0 / 0.7492 GB, free: 14.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02052/0.7175, allocations: 6.623 MB / 0.7557 GB, free: 8.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.7176, allocations: 8.031 kB / 0.7557 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02171/0.7393, allocations: 3.219 MB / 0.7588 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.751, allocations: 3.865 MB / 0.7626 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/0.7517, allocations: 451.4 kB / 0.763 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5581/1.31, allocations: 0.574 MB / 0.7636 GB, free: 122.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07129/1.381, allocations: 21.49 MB / 0.7846 GB, free: 116 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004199/1.382, allocations: 64.56 kB / 0.7846 GB, free: 116 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002545/1.384, allocations: 284.2 kB / 0.7849 GB, free: 115.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00982/1.394, allocations: 3.531 MB / 0.7884 GB, free: 115.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06361/1.458, allocations: 17.43 MB / 0.8054 GB, free: 100.8 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.566, allocations: 67.54 MB / 0.8713 GB, free: 32.21 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03068/1.597, allocations: 6.749 MB / 0.8779 GB, free: 25.35 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00566/1.603, allocations: 2.183 MB / 0.8801 GB, free: 23.16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02747/1.63, allocations: 9.632 MB / 0.8895 GB, free: 13.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.691e-05/1.63, allocations: 64.5 kB / 0.8895 GB, free: 13.25 MB / 410.8 MB Notification: Performance of pre-optimization done (n=284): time 1.309e-05/1.63, allocations: 4 kB / 0.8895 GB, free: 13.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=320): time 0.1212/1.752, allocations: 24.12 MB / 0.9131 GB, free: 4.977 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.752, allocations: 162.6 kB / 0.9132 GB, free: 4.785 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/1.766, allocations: 5.969 MB / 0.9191 GB, free: 14.79 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006124/1.767, allocations: 69.7 kB / 0.9191 GB, free: 14.72 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005601/1.772, allocations: 5.165 MB / 0.9242 GB, free: 9.555 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002087/1.774, allocations: 1.216 MB / 0.9254 GB, free: 8.348 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/1.775, allocations: 196 kB / 0.9256 GB, free: 8.156 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0009103/1.776, allocations: 0.7154 MB / 0.9263 GB, free: 7.434 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009643/1.786, allocations: 2.9 MB / 0.9291 GB, free: 4.527 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2997/2.086, allocations: 8.695 MB / 0.9376 GB, free: 129.9 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/2.1, allocations: 4.835 MB / 0.9423 GB, free: 129.6 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003648/2.1, allocations: 58 kB / 0.9424 GB, free: 129.6 MB / 442.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.03559/2.136, allocations: 11.29 MB / 0.9534 GB, free: 126 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/2.136, allocations: 93.09 kB / 0.9535 GB, free: 126 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004816/2.137, allocations: 202.9 kB / 0.9537 GB, free: 126 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/2.137, allocations: 304.3 kB / 0.954 GB, free: 126 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01473/2.152, allocations: 2.35 MB / 0.9562 GB, free: 125.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004879/2.152, allocations: 401.3 kB / 0.9566 GB, free: 125.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009818/2.162, allocations: 479.1 kB / 0.9571 GB, free: 125.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/2.164, allocations: 0.5793 MB / 0.9577 GB, free: 125.4 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 69 (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.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 (1254): * Single equations (assignments): 1251 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009323/2.174, allocations: 3.376 MB / 0.9609 GB, free: 123.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/2.175, allocations: 0.5347 MB / 0.9615 GB, free: 123.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/2.186, allocations: 3.55 MB / 0.9649 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.97e-05/2.186, allocations: 16.67 kB / 0.965 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/2.186, allocations: 2.688 kB / 0.965 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002862/2.189, allocations: 0.8424 MB / 0.9658 GB, free: 122.3 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/2.191, allocations: 52.12 kB / 0.9658 GB, free: 122.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004167/2.195, allocations: 141.6 kB / 0.966 GB, free: 122.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008193/2.196, allocations: 168.7 kB / 0.9661 GB, free: 122.2 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01361/2.21, allocations: 4.121 MB / 0.9701 GB, free: 120.6 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01676/2.227, allocations: 6.481 MB / 0.9765 GB, free: 117.8 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004615/2.231, allocations: 1.705 MB / 0.9781 GB, free: 117.2 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009261/2.241, allocations: 3.673 MB / 0.9817 GB, free: 116 MB / 442.8 MB Notification: Performance of Backend: time 1.713e-06/2.241, allocations: 4 kB / 0.9817 GB, free: 116 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01781/2.258, allocations: 5.596 MB / 0.9872 GB, free: 111.2 MB / 442.8 MB Notification: Performance of SimCode: time 0.03779/2.296, allocations: 17.77 MB / 1.005 GB, free: 94.82 MB / 442.8 MB Notification: Performance of Templates: time 0.1677/2.464, allocations: 57.22 MB / 1.06 GB, free: 38.98 MB / 442.8 MB