Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002548/0.002553, allocations: 353.1 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.253/3.253, allocations: 341.5 MB / 358.2 MB, free: 28.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003538/0.003538, allocations: 224.7 kB / 397.9 MB, free: 6.16 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.471/0.471, allocations: 76.1 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.000462, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08026/0.08074, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.4559/0.5367, allocations: 76.07 MB / 0.681 GB, free: 8.492 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04319/0.5799, allocations: 15.19 MB / 0.6959 GB, free: 13.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01754/0.5975, allocations: 344.7 kB / 0.6962 GB, free: 13.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.6115, allocations: 3.698 MB / 0.6998 GB, free: 10.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04582/0.6573, allocations: 12.5 MB / 0.712 GB, free: 13.79 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007348/0.6648, allocations: 1.088 MB / 0.7131 GB, free: 12.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0159/0.6807, allocations: 8.156 MB / 0.7211 GB, free: 4.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0201/0.7009, allocations: 8.536 MB / 0.7294 GB, free: 11.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005821/0.7067, allocations: 2.121 MB / 0.7315 GB, free: 9.793 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00856/0.7154, allocations: 3.579 MB / 0.735 GB, free: 6.203 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002151/0.7176, allocations: 276 kB / 0.7352 GB, free: 5.934 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.7221, allocations: 0.8466 MB / 0.736 GB, free: 5.086 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007873/0.7301, allocations: 3.012 MB / 0.739 GB, free: 2.066 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004991/0.7351, allocations: 1.415 MB / 0.7404 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01679/0.752, allocations: 9.3 MB / 0.7495 GB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.752, allocations: 0 / 0.7495 GB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.7521, allocations: 0 / 0.7495 GB, free: 7.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004218/0.7525, allocations: 3.938 kB / 0.7495 GB, free: 7.312 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02119/0.7737, allocations: 6.704 MB / 0.756 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.7738, allocations: 8.031 kB / 0.756 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/0.7959, allocations: 3.235 MB / 0.7592 GB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/0.8076, allocations: 3.857 MB / 0.7629 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006708/0.8083, allocations: 459.4 kB / 0.7634 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/0.8111, allocations: 0.5855 MB / 0.7639 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0728/0.8839, allocations: 21.53 MB / 0.785 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000317/0.8843, allocations: 67.41 kB / 0.785 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/0.8863, allocations: 279.8 kB / 0.7853 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01044/0.8968, allocations: 3.533 MB / 0.7888 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08718/0.984, allocations: 17.5 MB / 0.8058 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6784/1.662, allocations: 67.63 MB / 0.8719 GB, free: 108.8 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03296/1.696, allocations: 6.839 MB / 0.8786 GB, free: 105.4 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006159/1.702, allocations: 2.227 MB / 0.8807 GB, free: 104.3 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02502/1.727, allocations: 9.656 MB / 0.8902 GB, free: 95.96 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0254/1.752, allocations: 4.529 MB / 0.8946 GB, free: 91.38 MB / 442.8 MB Notification: Performance of pre-optimization done (n=287): time 6.752e-06/1.752, allocations: 0 / 0.8946 GB, free: 91.38 MB / 442.8 MB Notification: Performance of matching and sorting (n=323): time 0.1374/1.89, allocations: 24.31 MB / 0.9183 GB, free: 66.92 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/1.89, allocations: 158.6 kB / 0.9185 GB, free: 66.73 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/1.901, allocations: 5.986 MB / 0.9243 GB, free: 60.73 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006075/1.902, allocations: 76.36 kB / 0.9244 GB, free: 60.65 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004726/1.907, allocations: 5.278 MB / 0.9296 GB, free: 55.38 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/1.908, allocations: 1.228 MB / 0.9308 GB, free: 54.16 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009023/1.909, allocations: 201.1 kB / 0.9309 GB, free: 53.96 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0006146/1.91, allocations: 0.7234 MB / 0.9317 GB, free: 53.23 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008334/1.918, allocations: 2.943 MB / 0.9345 GB, free: 50.28 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/1.93, allocations: 8.742 MB / 0.9431 GB, free: 38.68 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.942, allocations: 4.904 MB / 0.9479 GB, free: 33.75 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001594/1.942, allocations: 60 kB / 0.9479 GB, free: 33.69 MB / 442.8 MB Notification: Performance of matching and sorting (n=1283) (initialization): time 0.02949/1.972, allocations: 11.42 MB / 0.9591 GB, free: 22.21 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.972, allocations: 121.7 kB / 0.9592 GB, free: 22.09 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000257/1.972, allocations: 208.8 kB / 0.9594 GB, free: 21.89 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/1.972, allocations: 300 kB / 0.9597 GB, free: 21.59 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/1.987, allocations: 2.368 MB / 0.962 GB, free: 19.22 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003488/1.987, allocations: 402.5 kB / 0.9624 GB, free: 18.83 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009429/1.996, allocations: 0.4889 MB / 0.9628 GB, free: 18.34 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/1.998, allocations: 0.5742 MB / 0.9634 GB, free: 17.77 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: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1258): * Single equations (assignments): 1254 * Array equations: 3 * Algorithm blocks: 1 * 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.008939/2.007, allocations: 3.388 MB / 0.9667 GB, free: 14.37 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/2.008, allocations: 0.5399 MB / 0.9672 GB, free: 13.82 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/2.019, allocations: 3.635 MB / 0.9708 GB, free: 10.13 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.112e-05/2.019, allocations: 15.95 kB / 0.9708 GB, free: 10.11 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/2.019, allocations: 0 / 0.9708 GB, free: 10.11 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002865/2.022, allocations: 0.853 MB / 0.9716 GB, free: 9.234 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001729/2.024, allocations: 53.33 kB / 0.9717 GB, free: 9.184 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004491/2.028, allocations: 159.8 kB / 0.9718 GB, free: 9.027 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007935/2.029, allocations: 177.9 kB / 0.972 GB, free: 8.852 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01851/2.047, allocations: 4.15 MB / 0.9761 GB, free: 4.703 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3128/2.36, allocations: 6.63 MB / 0.9825 GB, free: 142.6 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005149/2.366, allocations: 1.759 MB / 0.9843 GB, free: 142.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009499/2.375, allocations: 3.68 MB / 0.9878 GB, free: 141.3 MB / 442.8 MB Notification: Performance of Backend: time 1.172e-06/2.375, allocations: 0 / 0.9878 GB, free: 141.3 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01829/2.393, allocations: 5.713 MB / 0.9934 GB, free: 139.4 MB / 442.8 MB Notification: Performance of SimCode: time 0.03944/2.433, allocations: 17.79 MB / 1.011 GB, free: 130.1 MB / 442.8 MB Notification: Performance of Templates: time 0.1693/2.602, allocations: 58.04 MB / 1.067 GB, free: 75.55 MB / 442.8 MB