Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003268/0.003268, allocations: 371.3 kB / 15.97 MB, free: 6.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.021/4.021, allocations: 388.9 MB / 405.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003499/0.003499, allocations: 226.9 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5054/0.5054, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004824, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.09975, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.4111/0.5109, allocations: 76.05 MB / 0.7544 GB, free: 6.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04673/0.5577, allocations: 15.15 MB / 0.7692 GB, free: 11.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01862/0.5763, allocations: 355.4 kB / 0.7695 GB, free: 11.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01511/0.5915, allocations: 3.694 MB / 0.7731 GB, free: 8.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06384/0.6554, allocations: 12.5 MB / 0.7853 GB, free: 13.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01139/0.6669, allocations: 1.053 MB / 0.7863 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02329/0.6902, allocations: 8.13 MB / 0.7943 GB, free: 4.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0274/0.7177, allocations: 8.51 MB / 0.8026 GB, free: 11.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005627/0.7234, allocations: 2.105 MB / 0.8047 GB, free: 9.863 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008304/0.7318, allocations: 3.552 MB / 0.8081 GB, free: 6.301 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002197/0.734, allocations: 276 kB / 0.8084 GB, free: 6.031 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.7385, allocations: 0.8543 MB / 0.8092 GB, free: 5.176 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00565/0.7442, allocations: 3.004 MB / 0.8122 GB, free: 2.164 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003195/0.7474, allocations: 1.411 MB / 0.8135 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.7625, allocations: 9.266 MB / 0.8226 GB, free: 7.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7626, allocations: 0 / 0.8226 GB, free: 7.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7626, allocations: 0 / 0.8226 GB, free: 7.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004221/0.7631, allocations: 4 kB / 0.8226 GB, free: 7.449 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.02084/0.7839, allocations: 6.614 MB / 0.829 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/0.784, allocations: 12.02 kB / 0.8291 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02225/0.8063, allocations: 3.22 MB / 0.8322 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.818, allocations: 3.869 MB / 0.836 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006337/0.8187, allocations: 451.4 kB / 0.8364 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002768/0.8215, allocations: 0.5778 MB / 0.837 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07391/0.8954, allocations: 21.48 MB / 0.858 GB, free: 1.918 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003705/0.8958, allocations: 75.23 kB / 0.858 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002225/0.8981, allocations: 279.7 kB / 0.8583 GB, free: 1.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01053/0.9086, allocations: 3.537 MB / 0.8617 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08331/0.992, allocations: 17.42 MB / 0.8788 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.845/1.837, allocations: 67.54 MB / 0.9447 GB, free: 125.4 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03272/1.87, allocations: 6.74 MB / 0.9513 GB, free: 123.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00615/1.876, allocations: 2.182 MB / 0.9534 GB, free: 122.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02496/1.901, allocations: 9.635 MB / 0.9628 GB, free: 117.7 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/1.901, allocations: 59.38 kB / 0.9629 GB, free: 117.7 MB / 490.8 MB Notification: Performance of pre-optimization done (n=284): time 9.768e-06/1.901, allocations: 0 / 0.9629 GB, free: 117.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=320): time 0.1151/2.016, allocations: 24.13 MB / 0.9865 GB, free: 101 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/2.016, allocations: 162.1 kB / 0.9866 GB, free: 100.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/2.028, allocations: 5.973 MB / 0.9924 GB, free: 94.82 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005863/2.029, allocations: 70.88 kB / 0.9925 GB, free: 94.75 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003858/2.033, allocations: 5.168 MB / 0.9976 GB, free: 89.58 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001535/2.034, allocations: 1.218 MB / 0.9987 GB, free: 88.38 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008299/2.035, allocations: 196 kB / 0.9989 GB, free: 88.18 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005146/2.036, allocations: 0.7193 MB / 0.9996 GB, free: 87.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00802/2.044, allocations: 2.896 MB / 1.002 GB, free: 84.55 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/2.055, allocations: 8.7 MB / 1.011 GB, free: 73.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/2.066, allocations: 4.827 MB / 1.016 GB, free: 68.23 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000154/2.067, allocations: 56 kB / 1.016 GB, free: 68.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.03135/2.098, allocations: 11.29 MB / 1.027 GB, free: 56.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002997/2.098, allocations: 92 kB / 1.027 GB, free: 56.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005476/2.099, allocations: 204 kB / 1.027 GB, free: 56.55 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/2.099, allocations: 300 kB / 1.027 GB, free: 56.26 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/2.115, allocations: 2.348 MB / 1.03 GB, free: 53.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004027/2.116, allocations: 402.5 kB / 1.03 GB, free: 53.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00912/2.125, allocations: 483.4 kB / 1.03 GB, free: 53.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/2.127, allocations: 0.5753 MB / 1.031 GB, free: 52.47 MB / 490.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.00716/2.134, allocations: 3.382 MB / 1.034 GB, free: 49.07 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/2.135, allocations: 0.5322 MB / 1.035 GB, free: 48.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009224/2.144, allocations: 3.541 MB / 1.038 GB, free: 44.94 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.29e-05/2.144, allocations: 15.94 kB / 1.038 GB, free: 44.92 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/2.144, allocations: 4 kB / 1.038 GB, free: 44.92 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002529/2.147, allocations: 0.8453 MB / 1.039 GB, free: 44.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/2.148, allocations: 49.64 kB / 1.039 GB, free: 44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003597/2.152, allocations: 155.8 kB / 1.039 GB, free: 43.85 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/2.152, allocations: 161.9 kB / 1.039 GB, free: 43.69 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01183/2.164, allocations: 4.123 MB / 1.044 GB, free: 39.57 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01928/2.183, allocations: 6.496 MB / 1.05 GB, free: 32.99 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00655/2.19, allocations: 1.692 MB / 1.052 GB, free: 31.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01344/2.203, allocations: 3.672 MB / 1.055 GB, free: 27.61 MB / 490.8 MB Notification: Performance of Backend: time 1.873e-06/2.203, allocations: 4 kB / 1.055 GB, free: 27.61 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02573/2.229, allocations: 5.606 MB / 1.061 GB, free: 22.06 MB / 490.8 MB Notification: Performance of SimCode: time 0.03667/2.266, allocations: 17.76 MB / 1.078 GB, free: 4.246 MB / 490.8 MB Notification: Performance of Templates: time 0.5208/2.787, allocations: 57.21 MB / 1.134 GB, free: 158.1 MB / 0.4949 GB