Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.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.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002718/0.002722, allocations: 362 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 4.123/4.123, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.005269/0.005269, allocations: 231.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.5074/0.5074, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004669, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09907, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5662/0.6653, allocations: 80.09 MB / 0.7583 GB, free: 5.172 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.6657, allocations: 64.62 kB / 0.7584 GB, free: 5.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01228/0.6781, allocations: 2.041 MB / 0.7604 GB, free: 3.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6781, allocations: 0 / 0.7604 GB, free: 3.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.6781, allocations: 0 / 0.7604 GB, free: 3.359 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003366/0.6785, allocations: 371.5 kB / 0.7607 GB, free: 2.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6785, allocations: 8.688 kB / 0.7607 GB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.6786, allocations: 6.047 kB / 0.7607 GB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.367e-05/0.6787, allocations: 159.1 kB / 0.7609 GB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6787, allocations: 0 / 0.7609 GB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.6787, allocations: 4.938 kB / 0.7609 GB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.092e-05/0.6788, allocations: 32.95 kB / 0.7609 GB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6788, allocations: 0 / 0.7609 GB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.6788, allocations: 0 / 0.7609 GB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6789, allocations: 3.984 kB / 0.7609 GB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.6789, allocations: 11.89 kB / 0.7609 GB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.679, allocations: 141.7 kB / 0.7611 GB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.6791, allocations: 18.61 kB / 0.7611 GB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.6791, allocations: 12.22 kB / 0.7611 GB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.6791, allocations: 4 kB / 0.7611 GB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.6792, allocations: 56.27 kB / 0.7611 GB, free: 2.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.913e-06/0.6792, allocations: 3.938 kB / 0.7612 GB, free: 2.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001779/0.6794, allocations: 67.39 kB / 0.7612 GB, free: 2.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.6794, allocations: 80.17 kB / 0.7613 GB, free: 2.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.516e-05/0.6794, allocations: 89.86 kB / 0.7614 GB, free: 2.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.6795, allocations: 29.7 kB / 0.7614 GB, free: 2.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.595e-05/0.6795, allocations: 80.27 kB / 0.7615 GB, free: 1.996 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.6795, allocations: 4 kB / 0.7615 GB, free: 1.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.6795, allocations: 0 / 0.7615 GB, free: 1.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.6796, allocations: 321.4 kB / 0.7618 GB, free: 1.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.6796, allocations: 0 / 0.7618 GB, free: 1.672 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.6796, allocations: 4 kB / 0.7618 GB, free: 1.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.6797, allocations: 25.7 kB / 0.7618 GB, free: 1.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6797, allocations: 0 / 0.7618 GB, free: 1.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.508e-05/0.6798, allocations: 70.97 kB / 0.7619 GB, free: 1.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.6798, allocations: 37.73 kB / 0.7619 GB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6798, allocations: 3.984 kB / 0.7619 GB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.6799, allocations: 0 / 0.7619 GB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.6799, allocations: 4 kB / 0.7619 GB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6799, allocations: 3.984 kB / 0.7619 GB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.6799, allocations: 0 / 0.7619 GB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.6799, allocations: 0 / 0.7619 GB, free: 1.504 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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 6.963e-05/0.68, allocations: 140.3 kB / 0.7621 GB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-06/0.68, allocations: 0 / 0.7621 GB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.6801, allocations: 11.08 kB / 0.7621 GB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.6801, allocations: 0 / 0.7621 GB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6801, allocations: 0 / 0.7621 GB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6801, allocations: 0 / 0.7621 GB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.572e-05/0.6802, allocations: 156.5 kB / 0.7622 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6802, allocations: 0 / 0.7622 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.6802, allocations: 0 / 0.7622 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6802, allocations: 0 / 0.7622 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.6802, allocations: 0 / 0.7622 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6803, allocations: 0 / 0.7622 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6803, allocations: 0 / 0.7622 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.6804, allocations: 105.4 kB / 0.7623 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.6804, allocations: 80.05 kB / 0.7624 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.6804, allocations: 7.938 kB / 0.7624 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.6805, allocations: 0 / 0.7624 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.6805, allocations: 0 / 0.7624 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.6805, allocations: 3.984 kB / 0.7624 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.724e-05/0.6805, allocations: 75.28 kB / 0.7625 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6805, allocations: 4.031 kB / 0.7625 GB, free: 0.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004569/0.681, allocations: 51.44 kB / 0.7625 GB, free: 0.7852 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0006223/0.6816, allocations: 187.7 kB / 0.7627 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.6818, allocations: 59.39 kB / 0.7628 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6818, allocations: 0 / 0.7628 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/0.6818, allocations: 59.34 kB / 0.7628 GB, free: 476 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.682, allocations: 12.56 kB / 0.7628 GB, free: 464 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.6822, allocations: 82.44 kB / 0.7629 GB, free: 356 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.6825, allocations: 0.6692 MB / 0.7636 GB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.274e-06/0.6825, allocations: 4 kB / 0.7636 GB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.6825, allocations: 11.44 kB / 0.7636 GB, free: 15.64 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6825, allocations: 0 / 0.7636 GB, free: 15.64 MB / 362.7 MB Notification: Performance of Templates: time 0.00771/0.6902, allocations: 1.7 MB / 0.7653 GB, free: 13.95 MB / 362.7 MB