Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002684/0.002684, allocations: 347.4 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.465/3.465, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003729/0.003729, allocations: 218.1 kB / 397.9 MB, free: 4.895 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4827/0.4827, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004876, allocations: 11.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.09161, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.61/11.71, allocations: 3.623 GB / 4.23 GB, free: 105.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/11.71, allocations: 88.75 kB / 4.23 GB, free: 105.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.807/13.51, allocations: 300.6 MB / 4.524 GB, free: 54.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/13.51, allocations: 0 / 4.524 GB, free: 54.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.511e-05/13.51, allocations: 18.5 kB / 4.524 GB, free: 54.63 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005765/13.52, allocations: 1.632 MB / 4.525 GB, free: 53.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/13.52, allocations: 13.78 kB / 4.525 GB, free: 53.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/13.52, allocations: 57.27 kB / 4.525 GB, free: 53.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008713/13.52, allocations: 403.5 kB / 4.526 GB, free: 53.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/13.52, allocations: 26.81 kB / 4.526 GB, free: 53.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/13.52, allocations: 39.47 kB / 4.526 GB, free: 53.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/13.52, allocations: 0.5084 MB / 4.526 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/13.52, allocations: 3.312 kB / 4.526 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/13.52, allocations: 19.22 kB / 4.526 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/13.52, allocations: 7 kB / 4.526 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/13.52, allocations: 496.3 kB / 4.527 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/13.53, allocations: 1.942 MB / 4.529 GB, free: 52.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000881/13.53, allocations: 385.2 kB / 4.529 GB, free: 52.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/13.53, allocations: 149.3 kB / 4.529 GB, free: 52.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/13.53, allocations: 0.9506 MB / 4.53 GB, free: 51.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/13.53, allocations: 43.62 kB / 4.53 GB, free: 51.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.126e-06/13.53, allocations: 0 / 4.53 GB, free: 51.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001503/13.53, allocations: 401.1 kB / 4.531 GB, free: 51.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/13.53, allocations: 106.7 kB / 4.531 GB, free: 50.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/13.53, allocations: 310.5 kB / 4.531 GB, free: 50.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/13.53, allocations: 31.83 kB / 4.531 GB, free: 50.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/13.53, allocations: 253.8 kB / 4.531 GB, free: 50.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.774e-05/13.53, allocations: 98.75 kB / 4.531 GB, free: 50.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/13.53, allocations: 11.34 kB / 4.531 GB, free: 50.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/13.53, allocations: 344.7 kB / 4.532 GB, free: 50.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/13.53, allocations: 127.8 kB / 4.532 GB, free: 50.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/13.53, allocations: 304.2 kB / 4.532 GB, free: 50.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/13.53, allocations: 234.8 kB / 4.532 GB, free: 50 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/13.53, allocations: 3.5 kB / 4.532 GB, free: 50 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001439/13.54, allocations: 0.5538 MB / 4.533 GB, free: 49.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/13.54, allocations: 64.48 kB / 4.533 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/13.54, allocations: 10.94 kB / 4.533 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/13.54, allocations: 7.688 kB / 4.533 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/13.54, allocations: 101.7 kB / 4.533 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/13.54, allocations: 12.06 kB / 4.533 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/13.54, allocations: 62.45 kB / 4.533 GB, free: 49.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/13.54, allocations: 29.59 kB / 4.533 GB, free: 49.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0003763/13.54, allocations: 187.5 kB / 4.533 GB, free: 49.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/13.54, allocations: 40.95 kB / 4.533 GB, free: 49.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/13.54, allocations: 436 kB / 4.534 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/13.54, allocations: 3.281 kB / 4.534 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/13.54, allocations: 0.5625 kB / 4.534 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/13.54, allocations: 6.531 kB / 4.534 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/13.54, allocations: 1.04 MB / 4.535 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/13.54, allocations: 1.5 kB / 4.535 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/13.54, allocations: 49.55 kB / 4.535 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/13.54, allocations: 7.422 kB / 4.535 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/13.54, allocations: 12.53 kB / 4.535 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/13.54, allocations: 3.188 kB / 4.535 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/13.54, allocations: 3.594 kB / 4.535 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/13.54, allocations: 0.5532 MB / 4.535 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/13.54, allocations: 127.5 kB / 4.536 GB, free: 48.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/13.54, allocations: 10.03 kB / 4.536 GB, free: 48.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/13.54, allocations: 18.06 kB / 4.536 GB, free: 48.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/13.54, allocations: 22.72 kB / 4.536 GB, free: 48.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/13.54, allocations: 14.36 kB / 4.536 GB, free: 48.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004622/13.54, allocations: 260.9 kB / 4.536 GB, free: 48.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/13.54, allocations: 5.156 kB / 4.536 GB, free: 48.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002411/13.55, allocations: 472.7 kB / 4.536 GB, free: 48.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (24): * Single equations (assignments): 24 * 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.003665/13.55, allocations: 1.228 MB / 4.537 GB, free: 48.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/13.55, allocations: 425.5 kB / 4.538 GB, free: 48.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/13.55, allocations: 1.281 kB / 4.538 GB, free: 48.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/13.55, allocations: 119.5 kB / 4.538 GB, free: 48.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/13.55, allocations: 161 kB / 4.538 GB, free: 48.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07389/13.63, allocations: 29.12 MB / 4.567 GB, free: 46.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/13.63, allocations: 0.842 MB / 4.567 GB, free: 46.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000766/13.63, allocations: 93.73 kB / 4.568 GB, free: 46.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/13.63, allocations: 46.8 kB / 4.568 GB, free: 46.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/13.63, allocations: 0 / 4.568 GB, free: 46.11 MB / 426.7 MB Notification: Performance of Templates: time 0.04923/13.68, allocations: 21.04 MB / 4.588 GB, free: 44.85 MB / 426.7 MB