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.002307/0.002307, allocations: 205.6 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009339/0.000934, allocations: 101.6 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3828/0.3828, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003685, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4524, allocations: 62.96 MB / 0.5184 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.5807, allocations: 87.14 MB / 0.6035 GB, free: 2.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.5809, allocations: 63.95 kB / 0.6036 GB, free: 2.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006533/0.5875, allocations: 2.275 MB / 0.6058 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5875, allocations: 0 / 0.6058 GB, free: 15.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.5875, allocations: 0 / 0.6058 GB, free: 15.84 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.0004185/0.5879, allocations: 361.2 kB / 0.6061 GB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.588, allocations: 15.97 kB / 0.6061 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.588, allocations: 4.938 kB / 0.6062 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.5882, allocations: 164.3 kB / 0.6063 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5882, allocations: 4.375 kB / 0.6063 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.5882, allocations: 384 / 0.6063 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.5883, allocations: 34.25 kB / 0.6063 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5884, allocations: 192 / 0.6063 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.5884, allocations: 3.938 kB / 0.6064 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.5884, allocations: 0 / 0.6064 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.5884, allocations: 0 / 0.6064 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.5886, allocations: 149.7 kB / 0.6065 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.5886, allocations: 26.52 kB / 0.6065 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.5886, allocations: 12.94 kB / 0.6065 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.5887, allocations: 0 / 0.6065 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.5887, allocations: 60.27 kB / 0.6066 GB, free: 14.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5887, allocations: 0 / 0.6066 GB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001888/0.5889, allocations: 67.25 kB / 0.6067 GB, free: 14.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.589, allocations: 77.11 kB / 0.6067 GB, free: 14.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.822e-05/0.589, allocations: 102 kB / 0.6068 GB, free: 14.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5891, allocations: 25.7 kB / 0.6068 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.5891, allocations: 80.14 kB / 0.6069 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.5891, allocations: 7.938 kB / 0.6069 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.5891, allocations: 0 / 0.6069 GB, free: 14.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5893, allocations: 310.8 kB / 0.6072 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.5893, allocations: 0 / 0.6072 GB, free: 14.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-06/0.5893, allocations: 0 / 0.6072 GB, free: 14.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/0.5893, allocations: 64.33 kB / 0.6073 GB, free: 14.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5894, allocations: 0 / 0.6073 GB, free: 14.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.038e-05/0.5894, allocations: 71.33 kB / 0.6074 GB, free: 13.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.5895, allocations: 29.7 kB / 0.6074 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5895, allocations: 3.984 kB / 0.6074 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5895, allocations: 7.938 kB / 0.6074 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.5895, allocations: 0 / 0.6074 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5895, allocations: 3.938 kB / 0.6074 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.5895, allocations: 0 / 0.6074 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.5896, allocations: 0 / 0.6074 GB, free: 13.92 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 9.354e-05/0.5897, allocations: 139.6 kB / 0.6075 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.5897, allocations: 0 / 0.6075 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.5897, allocations: 14.64 kB / 0.6075 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5897, allocations: 0 / 0.6075 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5897, allocations: 0 / 0.6075 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5897, allocations: 0 / 0.6075 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.5898, allocations: 149.6 kB / 0.6077 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5898, allocations: 0 / 0.6077 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.5898, allocations: 0 / 0.6077 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5899, allocations: 4 kB / 0.6077 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.5899, allocations: 11.92 kB / 0.6077 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5899, allocations: 0 / 0.6077 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5899, allocations: 0 / 0.6077 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.59, allocations: 86.84 kB / 0.6078 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.5901, allocations: 81.09 kB / 0.6079 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.5901, allocations: 7.938 kB / 0.6079 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.5901, allocations: 0 / 0.6079 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.5901, allocations: 7.969 kB / 0.6079 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.5901, allocations: 0 / 0.6079 GB, free: 13.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.948e-05/0.5902, allocations: 75.28 kB / 0.608 GB, free: 13.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5902, allocations: 0 / 0.608 GB, free: 13.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003231/0.5905, allocations: 59.94 kB / 0.608 GB, free: 13.19 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.000479/0.591, allocations: 193.6 kB / 0.6082 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5911, allocations: 63.41 kB / 0.6083 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5911, allocations: 0 / 0.6083 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.5912, allocations: 59.39 kB / 0.6083 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.5913, allocations: 7.688 kB / 0.6083 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.5915, allocations: 74.77 kB / 0.6084 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.5918, allocations: 0.6692 MB / 0.609 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.586e-06/0.5918, allocations: 0 / 0.609 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.5918, allocations: 15.31 kB / 0.6091 GB, free: 12.04 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5918, allocations: 4.125 kB / 0.6091 GB, free: 12.03 MB / 426.7 MB Notification: Performance of Templates: time 0.005048/0.5969, allocations: 2.034 MB / 0.6111 GB, free: 10 MB / 426.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/jenkins1/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