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.0027/0.002706, allocations: 364.7 kB / 15.96 MB, free: 6.199 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.292/4.292, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003576/0.003576, allocations: 222.3 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.5125/0.5125, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004473, allocations: 12.97 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09716, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005867/0.09781, allocations: 224.4 kB / 0.6803 GB, free: 41.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.09863, allocations: 328 kB / 0.6806 GB, free: 41.12 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.09866, allocations: 0 / 0.6806 GB, free: 41.12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.09869, allocations: 0 / 0.6806 GB, free: 41.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.09871, allocations: 0 / 0.6806 GB, free: 41.12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.09946, allocations: 161.2 kB / 0.6808 GB, free: 40.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.145e-05/0.09951, allocations: 3.984 kB / 0.6808 GB, free: 40.96 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.09957, allocations: 0 / 0.6808 GB, free: 40.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.0996, allocations: 0 / 0.6808 GB, free: 40.96 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.419e-05/0.09964, allocations: 3.938 kB / 0.6808 GB, free: 40.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.09967, allocations: 4 kB / 0.6808 GB, free: 40.95 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.1001, allocations: 139.8 kB / 0.6809 GB, free: 40.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.1001, allocations: 3.984 kB / 0.6809 GB, free: 40.81 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1002, allocations: 29.64 kB / 0.681 GB, free: 40.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1004, allocations: 99.83 kB / 0.681 GB, free: 40.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1004, allocations: 3.938 kB / 0.6811 GB, free: 40.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1004, allocations: 4 kB / 0.6811 GB, free: 40.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1004, allocations: 0 / 0.6811 GB, free: 40.67 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.0002875/0.1007, allocations: 361 kB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1008, allocations: 8.031 kB / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1008, allocations: 0 / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.265e-05/0.1009, allocations: 159.1 kB / 0.6816 GB, free: 40.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1009, allocations: 4 kB / 0.6816 GB, free: 40.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1009, allocations: 0 / 0.6816 GB, free: 40.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.101, allocations: 33.7 kB / 0.6816 GB, free: 40.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.101, allocations: 0 / 0.6816 GB, free: 40.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1011, allocations: 11.94 kB / 0.6816 GB, free: 40.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1011, allocations: 0 / 0.6816 GB, free: 40.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.1011, allocations: 0 / 0.6816 GB, free: 40.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.1012, allocations: 141.7 kB / 0.6817 GB, free: 39.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.535e-05/0.1013, allocations: 22.55 kB / 0.6818 GB, free: 39.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.1013, allocations: 4.859 kB / 0.6818 GB, free: 39.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.1013, allocations: 4 kB / 0.6818 GB, free: 39.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.1014, allocations: 64.33 kB / 0.6818 GB, free: 39.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1014, allocations: 0 / 0.6818 GB, free: 39.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001735/0.1016, allocations: 63.33 kB / 0.6819 GB, free: 39.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1016, allocations: 85.06 kB / 0.682 GB, free: 39.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.316e-05/0.1016, allocations: 89.86 kB / 0.6821 GB, free: 39.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.1016, allocations: 25.7 kB / 0.6821 GB, free: 39.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.479e-05/0.1017, allocations: 80.14 kB / 0.6822 GB, free: 39.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1017, allocations: 8.125 kB / 0.6822 GB, free: 39.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.1017, allocations: 0 / 0.6822 GB, free: 39.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.1018, allocations: 314.8 kB / 0.6825 GB, free: 38.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.1018, allocations: 4 kB / 0.6825 GB, free: 38.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.1018, allocations: 0 / 0.6825 GB, free: 38.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.1018, allocations: 25.7 kB / 0.6825 GB, free: 38.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1019, allocations: 0 / 0.6825 GB, free: 38.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.797e-05/0.1019, allocations: 59.41 kB / 0.6826 GB, free: 38.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.102, allocations: 33.8 kB / 0.6826 GB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.102, allocations: 7.984 kB / 0.6826 GB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.102, allocations: 3.938 kB / 0.6826 GB, free: 38.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.102, allocations: 3.938 kB / 0.6826 GB, free: 38.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.102, allocations: 0 / 0.6826 GB, free: 38.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1021, allocations: 3.953 kB / 0.6826 GB, free: 38.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.1021, allocations: 0 / 0.6826 GB, free: 38.82 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.842e-05/0.1022, allocations: 144.3 kB / 0.6827 GB, free: 38.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.1022, allocations: 0 / 0.6827 GB, free: 38.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.1022, allocations: 11.08 kB / 0.6828 GB, free: 38.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1022, allocations: 0 / 0.6828 GB, free: 38.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1022, allocations: 0 / 0.6828 GB, free: 38.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.1023, allocations: 85.09 kB / 0.6828 GB, free: 38.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1023, allocations: 3.953 kB / 0.6828 GB, free: 38.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.152e-05/0.1023, allocations: 4 kB / 0.6828 GB, free: 38.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1023, allocations: 0 / 0.6828 GB, free: 38.55 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.958e-05/0.1024, allocations: 198.1 kB / 0.683 GB, free: 38.33 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001139/0.1026, allocations: 244.5 kB / 0.6833 GB, free: 38.07 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.124e-05/0.1026, allocations: 4 kB / 0.6833 GB, free: 38.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.547e-05/0.1026, allocations: 75.28 kB / 0.6833 GB, free: 37.99 MB / 346.7 MB Notification: Performance of Backend: time 5.71e-07/0.1026, allocations: 0 / 0.6833 GB, free: 37.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007813/0.1034, allocations: 220.3 kB / 0.6835 GB, free: 37.77 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002559/0.1037, allocations: 0.5851 MB / 0.6841 GB, free: 37.12 MB / 346.7 MB Notification: Performance of Templates: time 0.004892/0.1086, allocations: 1.342 MB / 0.6854 GB, free: 35.78 MB / 346.7 MB