Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 193.1 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 226.5 MB / 244.1 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008301/0.0008301, allocations: 105.6 kB / 296.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3687/0.3687, allocations: 44.82 MB / 392.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002892, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4115, allocations: 62.96 MB / 0.5165 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.536, allocations: 87.14 MB / 0.6016 GB, free: 2.242 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.5363, allocations: 63.97 kB / 0.6016 GB, free: 2.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006439/0.5428, allocations: 2.274 MB / 0.6038 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5428, allocations: 0 / 0.6038 GB, free: 15.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.5428, allocations: 4 kB / 0.6038 GB, free: 15.9 MB / 426.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.0003623/0.5432, allocations: 365.2 kB / 0.6042 GB, free: 15.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5432, allocations: 8.031 kB / 0.6042 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.5433, allocations: 0.9375 kB / 0.6042 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.5434, allocations: 164.3 kB / 0.6044 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.5434, allocations: 8.375 kB / 0.6044 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.5434, allocations: 384 / 0.6044 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.205e-05/0.5435, allocations: 30.25 kB / 0.6044 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.5435, allocations: 4.188 kB / 0.6044 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5436, allocations: 7.938 kB / 0.6044 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5436, allocations: 0 / 0.6044 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.5436, allocations: 0 / 0.6044 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.5437, allocations: 141.7 kB / 0.6045 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.481e-05/0.5438, allocations: 30.52 kB / 0.6046 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.5438, allocations: 8.859 kB / 0.6046 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.5438, allocations: 0 / 0.6046 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/0.5439, allocations: 64.33 kB / 0.6046 GB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.5439, allocations: 0 / 0.6046 GB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001899/0.5441, allocations: 67.25 kB / 0.6047 GB, free: 14.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.5442, allocations: 81.09 kB / 0.6048 GB, free: 14.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.5442, allocations: 89.86 kB / 0.6049 GB, free: 14.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5443, allocations: 29.64 kB / 0.6049 GB, free: 14.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.5443, allocations: 88.08 kB / 0.605 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.5443, allocations: 0 / 0.605 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.5443, allocations: 4.125 kB / 0.605 GB, free: 14.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5445, allocations: 310.8 kB / 0.6053 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.5445, allocations: 4 kB / 0.6053 GB, free: 14.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.5445, allocations: 0 / 0.6053 GB, free: 14.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.5446, allocations: 60.27 kB / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5446, allocations: 0 / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.729e-05/0.5447, allocations: 67.39 kB / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.5448, allocations: 36.61 kB / 0.6054 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5448, allocations: 4.094 kB / 0.6054 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5448, allocations: 3.938 kB / 0.6054 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.935e-06/0.5448, allocations: 0 / 0.6054 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5448, allocations: 3.938 kB / 0.6055 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.5448, allocations: 4 kB / 0.6055 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.5449, allocations: 0 / 0.6055 GB, free: 13.98 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.545, allocations: 139.5 kB / 0.6056 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.545, allocations: 4 kB / 0.6056 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.545, allocations: 10.66 kB / 0.6056 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.545, allocations: 4 kB / 0.6056 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.545, allocations: 0 / 0.6056 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.545, allocations: 0 / 0.6056 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.5452, allocations: 141.7 kB / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5452, allocations: 0 / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.5452, allocations: 7.984 kB / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5452, allocations: 0 / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5452, allocations: 3.938 kB / 0.6058 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5452, allocations: 0 / 0.6058 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5452, allocations: 4 kB / 0.6058 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.5454, allocations: 98.83 kB / 0.6059 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.5454, allocations: 77.11 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.5455, allocations: 3.938 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.5455, allocations: 3.938 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.5455, allocations: 4 kB / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5455, allocations: 0 / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.5455, allocations: 75.28 kB / 0.606 GB, free: 13.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5456, allocations: 32 / 0.606 GB, free: 13.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004308/0.546, allocations: 67.92 kB / 0.6061 GB, free: 13.24 MB / 426.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) * 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 (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.0006808/0.5467, allocations: 194.4 kB / 0.6063 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.5468, allocations: 59.39 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5468, allocations: 0 / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.5469, allocations: 55.41 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.5472, allocations: 9.984 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.5475, allocations: 100.4 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.548, allocations: 0.677 MB / 0.6071 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.548, allocations: 11.38 kB / 0.6071 GB, free: 12.06 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.548, allocations: 0 / 0.6071 GB, free: 12.06 MB / 426.7 MB Notification: Performance of Templates: time 0.006253/0.5543, allocations: 1.78 MB / 0.6089 GB, free: 10.28 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches