Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00265/0.002657, allocations: 346.5 kB / 15.94 MB, free: 6.219 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.16/3.16, allocations: 341.5 MB / 358.2 MB, free: 28.76 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.003508/0.003508, allocations: 220 kB / 397.8 MB, free: 6.152 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.4761/0.4761, allocations: 76.11 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004565, allocations: 16 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.5649, allocations: 72.79 MB / 0.6778 GB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5652, allocations: 69.94 kB / 0.6779 GB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002111/0.5674, allocations: 0.6157 MB / 0.6785 GB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5674, allocations: 4 kB / 0.6785 GB, free: 12.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.5674, allocations: 0 / 0.6785 GB, free: 12.44 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002242/0.5676, allocations: 316.2 kB / 0.6788 GB, free: 12.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.5677, allocations: 15.52 kB / 0.6788 GB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.5677, allocations: 0 / 0.6788 GB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.129e-05/0.5678, allocations: 170.9 kB / 0.679 GB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5678, allocations: 7.891 kB / 0.679 GB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.5679, allocations: 3.875 kB / 0.679 GB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.759e-05/0.568, allocations: 41.22 kB / 0.679 GB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.568, allocations: 0 / 0.679 GB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.568, allocations: 0 / 0.679 GB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.568, allocations: 0 / 0.679 GB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.5681, allocations: 3.812 kB / 0.679 GB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.5682, allocations: 153.4 kB / 0.6792 GB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.5684, allocations: 45.05 kB / 0.6792 GB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.5685, allocations: 8.703 kB / 0.6792 GB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.5689, allocations: 123.6 kB / 0.6793 GB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.5689, allocations: 32.75 kB / 0.6794 GB, free: 11.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.5689, allocations: 0 / 0.6794 GB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.001909/0.5708, allocations: 212.1 kB / 0.6796 GB, free: 11.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.5709, allocations: 51.41 kB / 0.6796 GB, free: 11.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.571, allocations: 89.86 kB / 0.6797 GB, free: 11.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.571, allocations: 35.91 kB / 0.6797 GB, free: 11.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.571, allocations: 84.27 kB / 0.6798 GB, free: 11.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.571, allocations: 11.75 kB / 0.6798 GB, free: 11.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.5711, allocations: 0 / 0.6798 GB, free: 11.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.5711, allocations: 322.5 kB / 0.6801 GB, free: 10.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.5713, allocations: 18.83 kB / 0.6801 GB, free: 10.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.5714, allocations: 19.52 kB / 0.6802 GB, free: 10.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.5715, allocations: 29.95 kB / 0.6802 GB, free: 10.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5716, allocations: 0 / 0.6802 GB, free: 10.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003067/0.5719, allocations: 91.11 kB / 0.6803 GB, free: 10.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5719, allocations: 7.25 kB / 0.6803 GB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5719, allocations: 0 / 0.6803 GB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5719, allocations: 4 kB / 0.6803 GB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.5721, allocations: 15.42 kB / 0.6803 GB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5722, allocations: 3.812 kB / 0.6803 GB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.5723, allocations: 11.02 kB / 0.6803 GB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.5723, allocations: 0.875 kB / 0.6803 GB, free: 10.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.251e-05/0.5724, allocations: 111 kB / 0.6804 GB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.5724, allocations: 7.453 kB / 0.6804 GB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.5728, allocations: 106.2 kB / 0.6805 GB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5728, allocations: 0 / 0.6805 GB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5728, allocations: 0 / 0.6805 GB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5729, allocations: 4 kB / 0.6805 GB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008699/0.5737, allocations: 368.4 kB / 0.6809 GB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5738, allocations: 3.844 kB / 0.6809 GB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.5739, allocations: 19.88 kB / 0.6809 GB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.574, allocations: 3.938 kB / 0.6809 GB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.574, allocations: 3.562 kB / 0.6809 GB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.574, allocations: 3.812 kB / 0.6809 GB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.574, allocations: 0 / 0.6809 GB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.5744, allocations: 190.9 kB / 0.6811 GB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.5744, allocations: 84.95 kB / 0.6812 GB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.5744, allocations: 0 / 0.6812 GB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5746, allocations: 11.64 kB / 0.6812 GB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.5746, allocations: 4 kB / 0.6812 GB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.5747, allocations: 3.812 kB / 0.6812 GB, free: 9.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.259e-05/0.5747, allocations: 75.28 kB / 0.6813 GB, free: 9.801 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5747, allocations: 0 / 0.6813 GB, free: 9.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.575, allocations: 15.52 kB / 0.6813 GB, free: 9.797 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001264/0.5751, allocations: 102.7 kB / 0.6814 GB, free: 9.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.5755, allocations: 58.67 kB / 0.6814 GB, free: 9.684 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5755, allocations: 0 / 0.6814 GB, free: 9.684 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.5756, allocations: 26.92 kB / 0.6815 GB, free: 9.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.5759, allocations: 11.7 kB / 0.6815 GB, free: 9.676 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.5765, allocations: 142.7 kB / 0.6816 GB, free: 9.543 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.5766, allocations: 0.6814 MB / 0.6823 GB, free: 8.844 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.803e-05/0.5767, allocations: 11.83 kB / 0.6823 GB, free: 8.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.5767, allocations: 11.38 kB / 0.6823 GB, free: 8.824 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5768, allocations: 0 / 0.6823 GB, free: 8.824 MB / 314.7 MB Notification: Performance of Templates: time 0.003045/0.5798, allocations: 0.6013 MB / 0.6829 GB, free: 8.312 MB / 314.7 MB