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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [: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 trunk/package.mo): time 0.001098/0.001098, allocations: 204.3 kB / 8.535 MB, free: 2.641 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 101.5 kB / 286.4 MB, free: 500 kB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4345/0.4345, allocations: 45.14 MB / 383.3 MB, free: 43.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.965e-06, allocations: 0 / 452.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4307, allocations: 63.23 MB / 0.5038 GB, free: 41.31 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.5493, allocations: 86.48 MB / 0.5882 GB, free: 11.52 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.5496, allocations: 68.95 kB / 0.5883 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.008485/0.5581, allocations: 3.013 MB / 0.5912 GB, free: 8.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.5581, allocations: 0 / 0.5912 GB, free: 8.441 MB / 414.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.0003705/0.5585, allocations: 364.8 kB / 0.5916 GB, free: 8.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5586, allocations: 12.03 kB / 0.5916 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.5586, allocations: 6.188 kB / 0.5916 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5588, allocations: 164.2 kB / 0.5917 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5588, allocations: 0 / 0.5917 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.5588, allocations: 1.25 kB / 0.5917 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.244e-05/0.5589, allocations: 2 kB / 0.5917 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.074e-05/0.5589, allocations: 29.7 kB / 0.5918 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5589, allocations: 3.984 kB / 0.5918 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.559, allocations: 3.906 kB / 0.5918 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.559, allocations: 0 / 0.5918 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.5591, allocations: 127.6 kB / 0.5919 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.5592, allocations: 18.61 kB / 0.5919 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.5592, allocations: 5.516 kB / 0.5919 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.5592, allocations: 0.5938 kB / 0.5919 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.5593, allocations: 61.7 kB / 0.592 GB, free: 7.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.5593, allocations: 0 / 0.592 GB, free: 7.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.5594, allocations: 34.66 kB / 0.592 GB, free: 7.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.5595, allocations: 81.11 kB / 0.5921 GB, free: 7.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.3e-05/0.5596, allocations: 85.56 kB / 0.5922 GB, free: 7.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5596, allocations: 26.73 kB / 0.5922 GB, free: 7.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.5596, allocations: 84.08 kB / 0.5923 GB, free: 7.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.5597, allocations: 3.906 kB / 0.5923 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.5597, allocations: 0.5312 kB / 0.5923 GB, free: 7.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5598, allocations: 314.9 kB / 0.5926 GB, free: 6.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.5598, allocations: 4 kB / 0.5926 GB, free: 6.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-06/0.5598, allocations: 0 / 0.5926 GB, free: 6.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.897e-05/0.5598, allocations: 0 / 0.5926 GB, free: 6.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5599, allocations: 0 / 0.5926 GB, free: 6.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.342e-05/0.5599, allocations: 29.7 kB / 0.5926 GB, free: 6.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5599, allocations: 8 kB / 0.5926 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.56, allocations: 3.984 kB / 0.5926 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.56, allocations: 8.031 kB / 0.5926 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.437e-06/0.56, allocations: 4 kB / 0.5926 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.56, allocations: 0 / 0.5926 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.56, allocations: 3.906 kB / 0.5926 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.56, allocations: 3.984 kB / 0.5926 GB, free: 6.773 MB / 414.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 () * 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 9.677e-05/0.5601, allocations: 136.1 kB / 0.5928 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.5601, allocations: 0 / 0.5928 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.658e-05/0.5602, allocations: 6.594 kB / 0.5928 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.5602, allocations: 0 / 0.5928 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5602, allocations: 0 / 0.5928 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5602, allocations: 7.938 kB / 0.5928 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.5603, allocations: 134.1 kB / 0.5929 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5603, allocations: 3.938 kB / 0.5929 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.5603, allocations: 0 / 0.5929 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5603, allocations: 0 / 0.5929 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.5603, allocations: 0 / 0.5929 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5603, allocations: 0 / 0.5929 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5603, allocations: 0 / 0.5929 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.114e-05/0.5604, allocations: 69.03 kB / 0.593 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.5605, allocations: 77.11 kB / 0.5931 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.5605, allocations: 0 / 0.5931 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.5605, allocations: 4 kB / 0.5931 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.5605, allocations: 0 / 0.5931 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.5605, allocations: 0 / 0.5931 GB, free: 6.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.052e-05/0.5606, allocations: 75.28 kB / 0.5931 GB, free: 6.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.5608, allocations: 4 kB / 0.5931 GB, free: 6.184 MB / 414.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) * 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.000105/0.5609, allocations: 95.27 kB / 0.5932 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.561, allocations: 33.64 kB / 0.5933 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.561, allocations: 0 / 0.5933 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.561, allocations: 33.69 kB / 0.5933 GB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.6e-05/0.5611, allocations: 2.969 kB / 0.5933 GB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.5613, allocations: 47.98 kB / 0.5933 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.5616, allocations: 0.6854 MB / 0.594 GB, free: 5.223 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5616, allocations: 3.938 kB / 0.594 GB, free: 5.219 MB / 414.1 MB Notification: Performance of Templates: time 0.001679/0.5633, allocations: 184.5 kB / 0.5942 GB, free: 5.039 MB / 414.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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches