Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003809/0.003817, allocations: 360.6 kB / 15.95 MB, free: 6.207 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.885/3.885, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003492/0.003492, allocations: 229.8 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.5358/0.5358, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005043, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09961, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.5422, allocations: 79.16 MB / 0.7574 GB, free: 6.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5425, allocations: 74.7 kB / 0.7575 GB, free: 6.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002166/0.5447, allocations: 0.6252 MB / 0.7581 GB, free: 5.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5447, allocations: 0 / 0.7581 GB, free: 5.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.5447, allocations: 0 / 0.7581 GB, free: 5.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002306/0.545, allocations: 319 kB / 0.7584 GB, free: 5.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.545, allocations: 12.81 kB / 0.7584 GB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.545, allocations: 11.95 kB / 0.7584 GB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.224e-05/0.5451, allocations: 166.4 kB / 0.7586 GB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5452, allocations: 0 / 0.7586 GB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.5452, allocations: 0 / 0.7586 GB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.891e-05/0.5453, allocations: 33.69 kB / 0.7586 GB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5453, allocations: 7.938 kB / 0.7586 GB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5453, allocations: 2.625 kB / 0.7586 GB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.5453, allocations: 0 / 0.7586 GB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.078e-05/0.5454, allocations: 11.94 kB / 0.7586 GB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.5455, allocations: 156.2 kB / 0.7588 GB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.5457, allocations: 33.05 kB / 0.7588 GB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.5458, allocations: 12.84 kB / 0.7588 GB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/0.5462, allocations: 121.1 kB / 0.7589 GB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.5462, allocations: 34.5 kB / 0.7589 GB, free: 4.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.5462, allocations: 0 / 0.7589 GB, free: 4.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001916/0.5482, allocations: 204.6 kB / 0.7591 GB, free: 4.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5482, allocations: 59.34 kB / 0.7592 GB, free: 4.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.513e-05/0.5483, allocations: 101.1 kB / 0.7593 GB, free: 4.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.5483, allocations: 25.7 kB / 0.7593 GB, free: 4.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.5483, allocations: 80.14 kB / 0.7594 GB, free: 4.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.5484, allocations: 19.06 kB / 0.7594 GB, free: 4.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.5484, allocations: 0 / 0.7594 GB, free: 4.027 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.5484, allocations: 318.8 kB / 0.7597 GB, free: 3.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.5486, allocations: 23.42 kB / 0.7597 GB, free: 3.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.5487, allocations: 23.42 kB / 0.7598 GB, free: 3.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.5489, allocations: 24.11 kB / 0.7598 GB, free: 3.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.5489, allocations: 0 / 0.7598 GB, free: 3.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003173/0.5492, allocations: 87.78 kB / 0.7599 GB, free: 3.566 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5492, allocations: 4 kB / 0.7599 GB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5493, allocations: 0 / 0.7599 GB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5493, allocations: 0 / 0.7599 GB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.5495, allocations: 19.92 kB / 0.7599 GB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5495, allocations: 6.25 kB / 0.7599 GB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.5497, allocations: 15.94 kB / 0.7599 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5497, allocations: 0.5469 kB / 0.7599 GB, free: 3.523 MB / 346.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.661e-05/0.5498, allocations: 117 kB / 0.76 GB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.5498, allocations: 0 / 0.76 GB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.5502, allocations: 102.9 kB / 0.7601 GB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.5502, allocations: 0 / 0.7601 GB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5502, allocations: 4 kB / 0.7601 GB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5502, allocations: 0 / 0.7601 GB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.5511, allocations: 368.2 kB / 0.7605 GB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5511, allocations: 0 / 0.7605 GB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.5513, allocations: 19.92 kB / 0.7605 GB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.5513, allocations: 0 / 0.7605 GB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5513, allocations: 0.875 kB / 0.7605 GB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5514, allocations: 8.031 kB / 0.7605 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5514, allocations: 3.953 kB / 0.7605 GB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.5517, allocations: 178.8 kB / 0.7607 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.5517, allocations: 81.11 kB / 0.7608 GB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.5518, allocations: 11.62 kB / 0.7608 GB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.5519, allocations: 7.984 kB / 0.7608 GB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.552, allocations: 7.953 kB / 0.7608 GB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.552, allocations: 0 / 0.7608 GB, free: 2.566 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.552, allocations: 75.28 kB / 0.7609 GB, free: 2.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5521, allocations: 7.875 kB / 0.7609 GB, free: 2.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.5524, allocations: 15.17 kB / 0.7609 GB, free: 2.473 MB / 346.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.0001286/0.5525, allocations: 107.3 kB / 0.761 GB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.5529, allocations: 50.77 kB / 0.761 GB, free: 2.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5529, allocations: 0 / 0.761 GB, free: 2.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.553, allocations: 35.48 kB / 0.7611 GB, free: 2.281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.5533, allocations: 7.438 kB / 0.7611 GB, free: 2.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.5539, allocations: 142.7 kB / 0.7612 GB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.554, allocations: 0.6809 MB / 0.7619 GB, free: 1.406 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.061e-05/0.5541, allocations: 7.984 kB / 0.7619 GB, free: 1.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.5541, allocations: 15.44 kB / 0.7619 GB, free: 1.383 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5542, allocations: 0 / 0.7619 GB, free: 1.383 MB / 346.7 MB Notification: Performance of Templates: time 0.003598/0.5578, allocations: 0.6052 MB / 0.7625 GB, free: 0.793 MB / 346.7 MB