Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007554/0.0007557, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008915/0.0008915, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1025, allocations: 63.56 MB / 483.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.000538/0.1031, allocations: 213.3 kB / 483.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000789/0.1039, allocations: 375.3 kB / 484.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.122e-05/0.1039, allocations: 0 / 484.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.1039, allocations: 0 / 484.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.158e-06/0.104, allocations: 0 / 484.3 MB, free: 3.617 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:38:3-118:23:writable] Warning: Pure function ‘ModelicaTest.Math.BooleanFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.1046, allocations: 151.3 kB / 484.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.349e-05/0.1047, allocations: 15.97 kB / 484.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.1047, allocations: 3.938 kB / 484.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.1047, allocations: 3.938 kB / 484.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.1048, allocations: 0 / 484.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-06/0.1048, allocations: 0 / 484.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1051, allocations: 163.7 kB / 484.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.1051, allocations: 3.984 kB / 484.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.1051, allocations: 29.7 kB / 484.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1053, allocations: 95.83 kB / 484.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1053, allocations: 0 / 484.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1053, allocations: 0 / 484.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1053, allocations: 4 kB / 484.8 MB, free: 3.152 MB / 350.1 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.0003476/0.1057, allocations: 369.2 kB / 485.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1057, allocations: 8.875 kB / 485.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.1058, allocations: 0.9375 kB / 485.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.1059, allocations: 164.4 kB / 485.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1059, allocations: 4.359 kB / 485.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1059, allocations: 384 / 485.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.106, allocations: 34.2 kB / 485.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.106, allocations: 4.188 kB / 485.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.106, allocations: 3.938 kB / 485.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.106, allocations: 3.984 kB / 485.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.106, allocations: 4 kB / 485.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.1062, allocations: 141.7 kB / 485.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.514e-05/0.1062, allocations: 26.5 kB / 485.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.1062, allocations: 4.859 kB / 485.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.1062, allocations: 0 / 485.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.1063, allocations: 68.27 kB / 485.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1063, allocations: 0 / 485.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.1065, allocations: 67.34 kB / 485.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1065, allocations: 81.09 kB / 485.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.786e-05/0.1066, allocations: 89.86 kB / 485.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1066, allocations: 25.7 kB / 485.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.1066, allocations: 80.14 kB / 485.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1066, allocations: 128 / 485.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.1067, allocations: 13.72 kB / 485.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1068, allocations: 318.8 kB / 486.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-06/0.1068, allocations: 0 / 486.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-06/0.1068, allocations: 0 / 486.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.372e-05/0.1069, allocations: 64.2 kB / 486.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1069, allocations: 0 / 486.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.796e-05/0.1069, allocations: 63.39 kB / 486.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.107, allocations: 29.8 kB / 486.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.107, allocations: 4 kB / 486.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.107, allocations: 3.938 kB / 486.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.107, allocations: 0 / 486.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.107, allocations: 7.938 kB / 486.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.1071, allocations: 4 kB / 486.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1071, allocations: 0 / 486.4 MB, free: 1.223 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.1072, allocations: 139.5 kB / 486.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.1072, allocations: 0 / 486.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.1072, allocations: 11.06 kB / 486.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1072, allocations: 0 / 486.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1072, allocations: 0 / 486.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1072, allocations: 0 / 486.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1073, allocations: 149.7 kB / 486.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1074, allocations: 4 kB / 486.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-06/0.1074, allocations: 3.938 kB / 486.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1074, allocations: 0 / 486.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1074, allocations: 3.938 kB / 486.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1074, allocations: 3.984 kB / 486.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1074, allocations: 0 / 486.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.122e-05/0.1075, allocations: 94.83 kB / 486.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.1076, allocations: 77.11 kB / 486.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1076, allocations: 7.938 kB / 486.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.1076, allocations: 0 / 486.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.1076, allocations: 7.938 kB / 486.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.1076, allocations: 0 / 486.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.459e-05/0.1077, allocations: 75.28 kB / 487 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1077, allocations: 4.031 kB / 487 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.108, allocations: 51.98 kB / 487 MB, free: 0.4961 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/0.1084, allocations: 181.5 kB / 487.2 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.1085, allocations: 71.27 kB / 487.3 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1085, allocations: 0 / 487.3 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.1085, allocations: 55.47 kB / 487.3 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1087, allocations: 10.34 kB / 487.3 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/0.1089, allocations: 108.4 kB / 487.5 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1091, allocations: 0.6731 MB / 488.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.1092, allocations: 7.438 kB / 488.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1092, allocations: 0 / 488.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Templates: time 0.003535/0.1127, allocations: 1.521 MB / 489.7 MB, free: 13.79 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1)