Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002691/0.002691, allocations: 363.1 kB / 15.95 MB, free: 6.203 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: 9.578 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.00538/0.00538, allocations: 230.6 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.6728/0.6728, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004847, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.5517, allocations: 79.16 MB / 0.7574 GB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.552, allocations: 71.02 kB / 0.7575 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001709/0.5537, allocations: 0.564 MB / 0.758 GB, free: 5.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5537, allocations: 4 kB / 0.758 GB, free: 5.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.443e-06/0.5538, allocations: 0 / 0.758 GB, free: 5.555 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002763/0.554, allocations: 332.9 kB / 0.7583 GB, free: 5.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5541, allocations: 8.031 kB / 0.7583 GB, free: 5.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.5541, allocations: 3.953 kB / 0.7583 GB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.227e-05/0.5542, allocations: 163.1 kB / 0.7585 GB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5543, allocations: 0.75 kB / 0.7585 GB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.5543, allocations: 0.75 kB / 0.7585 GB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.5544, allocations: 61.47 kB / 0.7586 GB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5544, allocations: 0 / 0.7586 GB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5545, allocations: 0.9375 kB / 0.7586 GB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5545, allocations: 4 kB / 0.7586 GB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.286e-05/0.5546, allocations: 13.88 kB / 0.7586 GB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.5549, allocations: 324.7 kB / 0.7589 GB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.394e-05/0.5549, allocations: 29.11 kB / 0.7589 GB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.555, allocations: 16.17 kB / 0.7589 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.555, allocations: 0 / 0.7589 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.5551, allocations: 31.06 kB / 0.759 GB, free: 4.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.5551, allocations: 0 / 0.759 GB, free: 4.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002221/0.5553, allocations: 63.95 kB / 0.759 GB, free: 4.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.5553, allocations: 59.97 kB / 0.7591 GB, free: 4.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/0.5554, allocations: 95.53 kB / 0.7592 GB, free: 4.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.5554, allocations: 30.2 kB / 0.7592 GB, free: 4.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.5555, allocations: 80.83 kB / 0.7593 GB, free: 4.094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.5555, allocations: 17.69 kB / 0.7593 GB, free: 4.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5555, allocations: 0.5625 kB / 0.7593 GB, free: 4.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.5556, allocations: 315.8 kB / 0.7596 GB, free: 3.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.5556, allocations: 9.922 kB / 0.7596 GB, free: 3.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.5557, allocations: 25.47 kB / 0.7596 GB, free: 3.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.5557, allocations: 6.75 kB / 0.7596 GB, free: 3.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5558, allocations: 0 / 0.7596 GB, free: 3.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001231/0.5559, allocations: 55.56 kB / 0.7597 GB, free: 3.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5559, allocations: 4 kB / 0.7597 GB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5559, allocations: 4.625 kB / 0.7597 GB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.556, allocations: 0 / 0.7597 GB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.5561, allocations: 12.56 kB / 0.7597 GB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5561, allocations: 4.031 kB / 0.7597 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.5562, allocations: 4.5 kB / 0.7597 GB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.5562, allocations: 1.5 kB / 0.7597 GB, free: 3.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 6.456e-05/0.5563, allocations: 115.7 kB / 0.7598 GB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.5563, allocations: 3.906 kB / 0.7598 GB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.5565, allocations: 62.69 kB / 0.7599 GB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.5565, allocations: 1.375 kB / 0.7599 GB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5565, allocations: 3.953 kB / 0.7599 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5565, allocations: 0 / 0.7599 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5567, allocations: 161.4 kB / 0.76 GB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5567, allocations: 240 / 0.76 GB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.5567, allocations: 7.984 kB / 0.7601 GB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.5568, allocations: 4 kB / 0.7601 GB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5568, allocations: 0 / 0.7601 GB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5568, allocations: 0 / 0.7601 GB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.5568, allocations: 4.172 kB / 0.7601 GB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.5569, allocations: 158.8 kB / 0.7602 GB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.557, allocations: 85.11 kB / 0.7603 GB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.557, allocations: 0 / 0.7603 GB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.5571, allocations: 0 / 0.7603 GB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.5571, allocations: 3.984 kB / 0.7603 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.5571, allocations: 7.938 kB / 0.7603 GB, free: 2.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.485e-05/0.5572, allocations: 78.59 kB / 0.7604 GB, free: 2.887 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5572, allocations: 0 / 0.7604 GB, free: 2.887 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.5575, allocations: 7.953 kB / 0.7604 GB, free: 2.879 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001313/0.5576, allocations: 108.7 kB / 0.7605 GB, free: 2.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.5578, allocations: 26.3 kB / 0.7605 GB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5578, allocations: 0 / 0.7605 GB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.5578, allocations: 14.88 kB / 0.7605 GB, free: 2.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.5581, allocations: 3.734 kB / 0.7605 GB, free: 2.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.5584, allocations: 110.6 kB / 0.7606 GB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.5585, allocations: 0.6854 MB / 0.7613 GB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.5586, allocations: 8.047 kB / 0.7613 GB, free: 1.883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.5586, allocations: 15.38 kB / 0.7613 GB, free: 1.867 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5586, allocations: 0 / 0.7613 GB, free: 1.867 MB / 346.7 MB Notification: Performance of Templates: time 0.00477/0.5634, allocations: 424.7 kB / 0.7617 GB, free: 1.465 MB / 346.7 MB