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.001403/0.001403, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 76.12 kB / 418.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 62.44 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002057/0.1285, allocations: 487.8 kB / 481.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.1294, allocations: 373.6 kB / 481.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.1294, allocations: 0 / 481.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.1294, allocations: 4 kB / 481.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.1295, allocations: 0 / 481.5 MB, free: 4.449 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.0009238/0.1304, allocations: 195.6 kB / 481.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.838e-05/0.1304, allocations: 4 kB / 481.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.1305, allocations: 0 / 481.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.1305, allocations: 3.938 kB / 481.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.159e-05/0.1305, allocations: 0 / 481.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.1305, allocations: 0 / 481.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.1309, allocations: 167.7 kB / 481.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.1309, allocations: 4 kB / 481.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.1309, allocations: 8 kB / 481.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1312, allocations: 147.7 kB / 482.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1312, allocations: 0 / 482.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1312, allocations: 0 / 482.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1312, allocations: 4 kB / 482.1 MB, free: 3.926 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.0003786/0.1316, allocations: 365.2 kB / 482.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1316, allocations: 12.03 kB / 482.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.1317, allocations: 0.9375 kB / 482.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.1318, allocations: 160.4 kB / 482.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1318, allocations: 4.375 kB / 482.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.1318, allocations: 4.375 kB / 482.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.94e-05/0.1319, allocations: 34.25 kB / 482.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1319, allocations: 4.125 kB / 482.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.132, allocations: 7.938 kB / 482.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.132, allocations: 0 / 482.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.132, allocations: 3.938 kB / 482.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1321, allocations: 149.7 kB / 482.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.03e-05/0.1322, allocations: 18.58 kB / 482.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.1322, allocations: 4.859 kB / 482.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.1322, allocations: 4.094 kB / 482.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.1323, allocations: 64.25 kB / 482.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1323, allocations: 0 / 482.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.1324, allocations: 67.28 kB / 482.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.1325, allocations: 77.11 kB / 483 MB, free: 2.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.458e-05/0.1326, allocations: 89.98 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1326, allocations: 29.7 kB / 483.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.1326, allocations: 80.14 kB / 483.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1326, allocations: 4 kB / 483.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1327, allocations: 17.7 kB / 483.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1328, allocations: 310.8 kB / 483.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.1328, allocations: 0 / 483.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.1328, allocations: 4 kB / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.1329, allocations: 64.33 kB / 483.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1329, allocations: 0 / 483.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.852e-05/0.133, allocations: 71.27 kB / 483.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.133, allocations: 36.2 kB / 483.7 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.133, allocations: 0 / 483.7 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.133, allocations: 3.938 kB / 483.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.133, allocations: 0 / 483.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.133, allocations: 0 / 483.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.1331, allocations: 0 / 483.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1331, allocations: 4 kB / 483.7 MB, free: 1.992 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.946e-05/0.1332, allocations: 135.6 kB / 483.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.1332, allocations: 3.984 kB / 483.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-06/0.1332, allocations: 7.062 kB / 483.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1332, allocations: 4 kB / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1332, allocations: 0 / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1332, allocations: 0 / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.762e-05/0.1333, allocations: 141.7 kB / 484 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1333, allocations: 0 / 484 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.1333, allocations: 0 / 484 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1333, allocations: 8 kB / 484 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1334, allocations: 7.922 kB / 484 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1334, allocations: 0 / 484 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1334, allocations: 3.938 kB / 484 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1335, allocations: 98.77 kB / 484.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.1335, allocations: 81.09 kB / 484.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1336, allocations: 7.938 kB / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.1336, allocations: 0 / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.1336, allocations: 4.031 kB / 484.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1336, allocations: 4 kB / 484.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.1337, allocations: 75.28 kB / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1337, allocations: 0 / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.134, allocations: 52 kB / 484.3 MB, free: 1.266 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.0004236/0.1344, allocations: 181.3 kB / 484.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1345, allocations: 67.33 kB / 484.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1345, allocations: 0 / 484.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.1346, allocations: 55.41 kB / 484.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1347, allocations: 4 kB / 484.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.1349, allocations: 110.5 kB / 484.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1352, allocations: 0.6729 MB / 485.4 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.1352, allocations: 7.438 kB / 485.4 MB, free: 92 kB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1352, allocations: 128 / 485.4 MB, free: 92 kB / 350.1 MB Notification: Performance of Templates: time 0.003406/0.1386, allocations: 1.533 MB / 487 MB, free: 14.55 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)