Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004059/0.004059, allocations: 179.8 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.37/1.37, allocations: 194.2 MB / 202.1 MB, free: 8.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001906/0.001905, allocations: 119.2 kB / 247.1 MB, free: 6.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1858/0.1858, allocations: 39.93 MB / 331.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.762e-06/6.893e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 54.88 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4799, allocations: 79.27 MB / 0.5146 GB, free: 9.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4802, allocations: 61.56 kB / 0.5146 GB, free: 9.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.008145/0.4883, allocations: 2.655 MB / 0.5172 GB, free: 9.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4884, allocations: 1.375 kB / 0.5172 GB, free: 9.637 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.0003561/0.4887, allocations: 355.8 kB / 0.5176 GB, free: 9.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.4888, allocations: 10.28 kB / 0.5176 GB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.4889, allocations: 3.906 kB / 0.5176 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.771e-05/0.489, allocations: 164.1 kB / 0.5177 GB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.489, allocations: 5.312 kB / 0.5177 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.489, allocations: 0 / 0.5177 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.427e-05/0.4891, allocations: 6.062 kB / 0.5177 GB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.29e-05/0.4891, allocations: 33.84 kB / 0.5178 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4892, allocations: 0 / 0.5178 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4892, allocations: 0 / 0.5178 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4892, allocations: 0 / 0.5178 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.4893, allocations: 130.2 kB / 0.5179 GB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.4894, allocations: 21.44 kB / 0.5179 GB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.4894, allocations: 6.234 kB / 0.5179 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.4894, allocations: 4 kB / 0.5179 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.4895, allocations: 63.56 kB / 0.518 GB, free: 8.738 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4895, allocations: 0 / 0.518 GB, free: 8.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.4896, allocations: 31.08 kB / 0.518 GB, free: 8.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4897, allocations: 82.31 kB / 0.5181 GB, free: 8.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.974e-05/0.4897, allocations: 87.08 kB / 0.5182 GB, free: 8.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.4897, allocations: 25.7 kB / 0.5182 GB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.053e-05/0.4898, allocations: 84.67 kB / 0.5183 GB, free: 8.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.4898, allocations: 1.375 kB / 0.5183 GB, free: 8.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-06/0.4898, allocations: 0 / 0.5183 GB, free: 8.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.4899, allocations: 316.4 kB / 0.5186 GB, free: 8.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.4899, allocations: 5.312 kB / 0.5186 GB, free: 8.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.4899, allocations: 2.25 kB / 0.5186 GB, free: 8.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/0.4899, allocations: 1.891 kB / 0.5186 GB, free: 8.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4899, allocations: 0 / 0.5186 GB, free: 8.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.523e-05/0.49, allocations: 31.3 kB / 0.5186 GB, free: 8.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.49, allocations: 10.19 kB / 0.5186 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.49, allocations: 0 / 0.5186 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4901, allocations: 0 / 0.5186 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.4901, allocations: 1.375 kB / 0.5186 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.4901, allocations: 0.75 kB / 0.5186 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.4901, allocations: 0 / 0.5186 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4901, allocations: 1.375 kB / 0.5186 GB, free: 8.047 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 () * 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 7.567e-05/0.4902, allocations: 134.5 kB / 0.5188 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.4902, allocations: 1.375 kB / 0.5188 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.4902, allocations: 11.75 kB / 0.5188 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.4902, allocations: 0 / 0.5188 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4902, allocations: 1.375 kB / 0.5188 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4903, allocations: 0.9844 kB / 0.5188 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.91e-05/0.4903, allocations: 129.2 kB / 0.5189 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4904, allocations: 0.5625 kB / 0.5189 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.4904, allocations: 1.375 kB / 0.5189 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4904, allocations: 3.938 kB / 0.5189 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.4904, allocations: 4.828 kB / 0.5189 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.4904, allocations: 1.375 kB / 0.5189 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4904, allocations: 4 kB / 0.5189 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.131e-05/0.4905, allocations: 57.81 kB / 0.519 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.4905, allocations: 82 kB / 0.519 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4905, allocations: 1.375 kB / 0.519 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.4906, allocations: 3.812 kB / 0.5191 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.4906, allocations: 4.547 kB / 0.5191 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.4906, allocations: 4.938 kB / 0.5191 GB, free: 7.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.26e-05/0.4906, allocations: 79.31 kB / 0.5191 GB, free: 7.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.4909, allocations: 2.75 kB / 0.5191 GB, free: 7.48 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) * 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.0001146/0.491, allocations: 90.77 kB / 0.5192 GB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.185e-05/0.4911, allocations: 30.44 kB / 0.5193 GB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4911, allocations: 3.938 kB / 0.5193 GB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.4911, allocations: 29.2 kB / 0.5193 GB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.4912, allocations: 1.375 kB / 0.5193 GB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001517/0.4914, allocations: 44.92 kB / 0.5193 GB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.4915, allocations: 0.6808 MB / 0.52 GB, free: 6.562 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4915, allocations: 1.375 kB / 0.52 GB, free: 6.562 MB / 346.7 MB Notification: Performance of Templates: time 0.002016/0.4936, allocations: 185 kB / 0.5202 GB, free: 6.523 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1)