Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.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.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.2_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003868/0.003873, allocations: 364.4 kB / 15.96 MB, free: 6.199 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 3.818/3.818, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003516/0.003516, allocations: 233.2 kB / 451 MB, free: 145.1 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.4926/0.4926, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006337/0.000634, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1322, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.4429/0.5752, allocations: 76.1 MB / 0.7544 GB, free: 6.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04556/0.6208, allocations: 15.21 MB / 0.7693 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0185/0.6394, allocations: 347.1 kB / 0.7696 GB, free: 11.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0143/0.6538, allocations: 3.697 MB / 0.7732 GB, free: 8.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0452/0.699, allocations: 12.5 MB / 0.7854 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007529/0.7066, allocations: 1.069 MB / 0.7865 GB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01555/0.7222, allocations: 8.152 MB / 0.7944 GB, free: 4.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01946/0.7417, allocations: 8.549 MB / 0.8028 GB, free: 11.78 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005576/0.7473, allocations: 2.125 MB / 0.8049 GB, free: 9.645 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008798/0.7562, allocations: 3.571 MB / 0.8083 GB, free: 6.062 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/0.7583, allocations: 276 kB / 0.8086 GB, free: 5.793 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/0.7627, allocations: 0.8505 MB / 0.8094 GB, free: 4.941 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005632/0.7683, allocations: 3.015 MB / 0.8124 GB, free: 1.918 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.7717, allocations: 1.411 MB / 0.8138 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.7868, allocations: 9.297 MB / 0.8228 GB, free: 7.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.7869, allocations: 0 / 0.8228 GB, free: 7.176 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.7869, allocations: 0 / 0.8228 GB, free: 7.176 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003962/0.7873, allocations: 0 / 0.8228 GB, free: 7.176 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.0211/0.8084, allocations: 6.7 MB / 0.8294 GB, free: 396 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.8085, allocations: 8.031 kB / 0.8294 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02234/0.8309, allocations: 3.235 MB / 0.8325 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.8425, allocations: 3.861 MB / 0.8363 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006463/0.8432, allocations: 455.4 kB / 0.8367 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002746/0.846, allocations: 0.5816 MB / 0.8373 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07538/0.9214, allocations: 21.54 MB / 0.8584 GB, free: 1.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004576/0.9219, allocations: 71.34 kB / 0.8584 GB, free: 1.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003095/0.925, allocations: 279.8 kB / 0.8587 GB, free: 1.137 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0148/0.9399, allocations: 3.525 MB / 0.8621 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08833/1.028, allocations: 17.5 MB / 0.8792 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.861/1.889, allocations: 67.63 MB / 0.9453 GB, free: 125.7 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03352/1.923, allocations: 6.836 MB / 0.9519 GB, free: 123.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006381/1.929, allocations: 2.236 MB / 0.9541 GB, free: 123 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/1.955, allocations: 9.664 MB / 0.9636 GB, free: 118 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03711/1.992, allocations: 4.514 MB / 0.968 GB, free: 115.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=287): time 1.101e-05/1.992, allocations: 1.938 kB / 0.968 GB, free: 115.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=323): time 0.1532/2.146, allocations: 24.32 MB / 0.9917 GB, free: 96 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/2.146, allocations: 162.6 kB / 0.9919 GB, free: 95.81 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/2.158, allocations: 5.982 MB / 0.9977 GB, free: 89.81 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008757/2.159, allocations: 74.41 kB / 0.9978 GB, free: 89.73 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008597/2.168, allocations: 5.288 MB / 1.003 GB, free: 84.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002642/2.171, allocations: 1.228 MB / 1.004 GB, free: 83.23 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/2.172, allocations: 200 kB / 1.004 GB, free: 83.04 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001297/2.174, allocations: 0.7195 MB / 1.005 GB, free: 82.31 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01394/2.188, allocations: 2.939 MB / 1.008 GB, free: 79.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01861/2.206, allocations: 8.749 MB / 1.016 GB, free: 67.82 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01709/2.224, allocations: 4.904 MB / 1.021 GB, free: 62.89 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000176/2.224, allocations: 60 kB / 1.021 GB, free: 62.83 MB / 490.8 MB Notification: Performance of matching and sorting (n=1283) (initialization): time 0.03031/2.254, allocations: 11.41 MB / 1.032 GB, free: 51.37 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/2.254, allocations: 125.9 kB / 1.033 GB, free: 51.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003062/2.255, allocations: 208 kB / 1.033 GB, free: 51.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/2.255, allocations: 300 kB / 1.033 GB, free: 50.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/2.27, allocations: 2.367 MB / 1.035 GB, free: 48.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003963/2.27, allocations: 402.5 kB / 1.036 GB, free: 47.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009879/2.28, allocations: 499.3 kB / 1.036 GB, free: 47.49 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/2.282, allocations: 0.5763 MB / 1.037 GB, free: 46.92 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: 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.009828/2.292, allocations: 3.383 MB / 1.04 GB, free: 43.52 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/2.294, allocations: 0.5399 MB / 1.041 GB, free: 42.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/2.312, allocations: 3.631 MB / 1.044 GB, free: 39.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001134/2.312, allocations: 19.94 kB / 1.044 GB, free: 39.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/2.312, allocations: 3.938 kB / 1.044 GB, free: 39.27 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004232/2.317, allocations: 0.8491 MB / 1.045 GB, free: 38.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002738/2.319, allocations: 59.92 kB / 1.045 GB, free: 38.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006632/2.326, allocations: 160.9 kB / 1.045 GB, free: 38.18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.327, allocations: 185.9 kB / 1.045 GB, free: 38 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02271/2.35, allocations: 4.147 MB / 1.049 GB, free: 33.85 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02668/2.377, allocations: 6.625 MB / 1.056 GB, free: 27.15 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005614/2.383, allocations: 1.75 MB / 1.058 GB, free: 25.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008573/2.391, allocations: 3.684 MB / 1.061 GB, free: 21.7 MB / 490.8 MB Notification: Performance of Backend: time 1.613e-06/2.391, allocations: 0 / 1.061 GB, free: 21.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01718/2.408, allocations: 5.713 MB / 1.067 GB, free: 16.04 MB / 490.8 MB Notification: Performance of SimCode: time 0.03737/2.446, allocations: 17.8 MB / 1.084 GB, free: 14.19 MB / 0.4949 GB Notification: Performance of Templates: time 0.5266/2.973, allocations: 58.04 MB / 1.141 GB, free: 150.5 MB / 0.4949 GB