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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008708/0.0008709, allocations: 92.73 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.348e-05/1.351e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5662, allocations: 86.55 MB / 0.5889 GB, free: 24 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.5664, allocations: 54.48 kB / 0.5889 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006434/0.5729, allocations: 2.435 MB / 0.5913 GB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5729, allocations: 0.75 kB / 0.5913 GB, free: 13.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.5729, allocations: 0 / 0.5913 GB, free: 13.9 MB / 394.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.0003459/0.5733, allocations: 366.2 kB / 0.5917 GB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5733, allocations: 8.031 kB / 0.5917 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.5734, allocations: 3.984 kB / 0.5917 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/0.5735, allocations: 163 kB / 0.5918 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5735, allocations: 0 / 0.5918 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.5735, allocations: 4 kB / 0.5918 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.605e-05/0.5736, allocations: 3.938 kB / 0.5918 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.395e-05/0.5736, allocations: 33.64 kB / 0.5919 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5737, allocations: 0 / 0.5919 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.5737, allocations: 4 kB / 0.5919 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5737, allocations: 0 / 0.5919 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.5738, allocations: 133.2 kB / 0.592 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.5739, allocations: 14.58 kB / 0.592 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.5739, allocations: 8.953 kB / 0.592 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-06/0.5739, allocations: 4 kB / 0.592 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.574, allocations: 56.27 kB / 0.5921 GB, free: 12.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.574, allocations: 0 / 0.5921 GB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001813/0.5742, allocations: 37.14 kB / 0.5921 GB, free: 12.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.5742, allocations: 81.11 kB / 0.5922 GB, free: 12.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.063e-05/0.5743, allocations: 88.98 kB / 0.5923 GB, free: 12.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5743, allocations: 25.7 kB / 0.5923 GB, free: 12.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.5743, allocations: 80.17 kB / 0.5924 GB, free: 12.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.5743, allocations: 4 kB / 0.5924 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.5743, allocations: 0 / 0.5924 GB, free: 12.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5745, allocations: 310.8 kB / 0.5927 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.5745, allocations: 4 kB / 0.5927 GB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.5745, allocations: 0 / 0.5927 GB, free: 12.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.5745, allocations: 2.812 kB / 0.5927 GB, free: 12.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5745, allocations: 0 / 0.5927 GB, free: 12.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.452e-05/0.5746, allocations: 41.59 kB / 0.5927 GB, free: 12.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.5747, allocations: 37.78 kB / 0.5928 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5747, allocations: 0 / 0.5928 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5747, allocations: 0 / 0.5928 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.5747, allocations: 0 / 0.5928 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.5747, allocations: 4 kB / 0.5928 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.5747, allocations: 0 / 0.5928 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5747, allocations: 0 / 0.5928 GB, free: 12.2 MB / 394.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 9.205e-05/0.5748, allocations: 130.6 kB / 0.5929 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.5748, allocations: 7.953 kB / 0.5929 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.428e-05/0.5749, allocations: 14.33 kB / 0.5929 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.5749, allocations: 0 / 0.5929 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5749, allocations: 0 / 0.5929 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5749, allocations: 3.984 kB / 0.5929 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.497e-05/0.575, allocations: 130.2 kB / 0.593 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.575, allocations: 0 / 0.593 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.575, allocations: 4 kB / 0.593 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.575, allocations: 0 / 0.593 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.575, allocations: 0 / 0.593 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.575, allocations: 7.891 kB / 0.593 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.575, allocations: 0 / 0.593 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.569e-05/0.5751, allocations: 71.73 kB / 0.5931 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.5752, allocations: 77.11 kB / 0.5932 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.5752, allocations: 0 / 0.5932 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-06/0.5752, allocations: 0 / 0.5932 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.5752, allocations: 3.953 kB / 0.5932 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.5752, allocations: 0 / 0.5932 GB, free: 11.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.5753, allocations: 79.28 kB / 0.5933 GB, free: 11.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5753, allocations: 7.969 kB / 0.5933 GB, free: 11.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.5756, allocations: 65.17 kB / 0.5933 GB, free: 11.54 MB / 394.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.0004872/0.5761, allocations: 192.8 kB / 0.5935 GB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.5762, allocations: 55.41 kB / 0.5936 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5762, allocations: 0 / 0.5936 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.5763, allocations: 59.03 kB / 0.5936 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.391e-05/0.5764, allocations: 5.938 kB / 0.5936 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.5766, allocations: 44.02 kB / 0.5937 GB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.5769, allocations: 0.6806 MB / 0.5943 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.035e-05/0.5769, allocations: 0 / 0.5943 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.5769, allocations: 11.38 kB / 0.5943 GB, free: 10.43 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5769, allocations: 0 / 0.5943 GB, free: 10.43 MB / 394.7 MB Notification: Performance of Templates: time 0.004574/0.5815, allocations: 1.871 MB / 0.5962 GB, free: 8.566 MB / 394.7 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