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.001338/0.001338, 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.001367/0.001368, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.11 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 79.02 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 62.46 MB / 480.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00176/0.1268, allocations: 479.8 kB / 481.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.1277, allocations: 369.7 kB / 481.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.1278, allocations: 4 kB / 481.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.1278, allocations: 3.938 kB / 481.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.1278, allocations: 0 / 481.6 MB, free: 4.406 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.000814/0.1286, allocations: 203.1 kB / 481.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.107e-05/0.1287, allocations: 4 kB / 481.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.1287, allocations: 7.984 kB / 481.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.163e-05/0.1287, allocations: 3.938 kB / 481.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.879e-05/0.1288, allocations: 0 / 481.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-06/0.1288, allocations: 0 / 481.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.1291, allocations: 163.7 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1291, allocations: 7.984 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.1291, allocations: 0 / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.1294, allocations: 151.8 kB / 482.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1294, allocations: 0 / 482.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1294, allocations: 0 / 482.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1294, allocations: 3.938 kB / 482.1 MB, free: 3.875 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.0004034/0.1298, allocations: 369.2 kB / 482.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1298, allocations: 8.031 kB / 482.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.1299, allocations: 0.9375 kB / 482.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.13, allocations: 160.4 kB / 482.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.13, allocations: 8.375 kB / 482.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.13, allocations: 384 / 482.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.609e-05/0.1301, allocations: 26.27 kB / 482.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1301, allocations: 192 / 482.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1302, allocations: 7.938 kB / 482.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1302, allocations: 0 / 482.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.1302, allocations: 3.984 kB / 482.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.1304, allocations: 145.7 kB / 482.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.1304, allocations: 26.55 kB / 482.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.1304, allocations: 4.859 kB / 482.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-06/0.1304, allocations: 0 / 482.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.1305, allocations: 60.33 kB / 482.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1305, allocations: 0 / 482.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001696/0.1307, allocations: 75.27 kB / 483 MB, free: 2.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.1307, allocations: 77.11 kB / 483.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.1308, allocations: 93.98 kB / 483.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1308, allocations: 25.7 kB / 483.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.1309, allocations: 80.14 kB / 483.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1309, allocations: 0 / 483.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1309, allocations: 13.72 kB / 483.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1311, allocations: 314.8 kB / 483.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.1311, allocations: 3.938 kB / 483.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.1311, allocations: 0 / 483.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.658e-05/0.1312, allocations: 68.33 kB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1312, allocations: 0 / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.624e-05/0.1313, allocations: 67.28 kB / 483.7 MB, free: 2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.1313, allocations: 36.34 kB / 483.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1313, allocations: 4 kB / 483.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1313, allocations: 3.938 kB / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1313, allocations: 0 / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1314, allocations: 0 / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.1314, allocations: 0 / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1314, allocations: 0 / 483.8 MB, free: 1.953 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 0.0001044/0.1315, allocations: 143.6 kB / 483.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.1315, allocations: 0 / 483.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-06/0.1315, allocations: 7.062 kB / 483.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1315, allocations: 3.984 kB / 483.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1315, allocations: 0 / 483.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1315, allocations: 4 kB / 483.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1317, allocations: 141.7 kB / 484.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1317, allocations: 0 / 484.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1317, allocations: 0 / 484.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1317, allocations: 4 kB / 484.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1317, allocations: 7.938 kB / 484.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1317, allocations: 4 kB / 484.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1317, allocations: 3.984 kB / 484.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.1318, allocations: 86.78 kB / 484.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.1319, allocations: 81.11 kB / 484.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1319, allocations: 7.922 kB / 484.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.1319, allocations: 4.031 kB / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.1319, allocations: 3.984 kB / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1319, allocations: 0 / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.132, allocations: 75.28 kB / 484.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.132, allocations: 4 kB / 484.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1323, allocations: 48 kB / 484.4 MB, free: 1.23 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.0004214/0.1327, allocations: 197.9 kB / 484.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1328, allocations: 59.41 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1328, allocations: 0 / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.983e-05/0.1329, allocations: 59.39 kB / 484.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.133, allocations: 0 / 484.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.1332, allocations: 114.5 kB / 484.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1335, allocations: 0.6729 MB / 485.5 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/0.1336, allocations: 7.438 kB / 485.5 MB, free: 40 kB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1336, allocations: 4.125 kB / 485.5 MB, free: 36 kB / 350.1 MB Notification: Performance of Templates: time 0.003542/0.1371, allocations: 1.529 MB / 487 MB, free: 14.5 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)