Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009578, allocations: 178.7 kB / 14.15 MB, free: 1.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008726, allocations: 99.59 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1921/0.1921, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.417e-05, allocations: 4.203 kB / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.573, allocations: 86.17 MB / 0.5858 GB, free: 3.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5732, allocations: 59.97 kB / 0.5859 GB, free: 3.105 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006343/0.5796, allocations: 2.439 MB / 0.5883 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5796, allocations: 0 / 0.5883 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.5796, allocations: 0 / 0.5883 GB, free: 0.6797 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.0003261/0.58, allocations: 360.2 kB / 0.5886 GB, free: 284 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.58, allocations: 11.86 kB / 0.5886 GB, free: 276 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.5801, allocations: 11.98 kB / 0.5886 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.5802, allocations: 159.1 kB / 0.5888 GB, free: 64 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.5802, allocations: 0 / 0.5888 GB, free: 64 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.5802, allocations: 7.891 kB / 0.5888 GB, free: 56 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.578e-05/0.5803, allocations: 33.64 kB / 0.5888 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5803, allocations: 0 / 0.5888 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.5803, allocations: 0 / 0.5888 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5804, allocations: 0 / 0.5888 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.5804, allocations: 4 kB / 0.5888 GB, free: 12 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.5805, allocations: 153.7 kB / 0.589 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.503e-05/0.5806, allocations: 14.58 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.5806, allocations: 4.859 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.5806, allocations: 4.094 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.5807, allocations: 72.14 kB / 0.5891 GB, free: 15.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5807, allocations: 0 / 0.5891 GB, free: 15.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.5808, allocations: 59.41 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.5809, allocations: 85.12 kB / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.172e-05/0.5809, allocations: 85 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.581, allocations: 25.7 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.581, allocations: 80.14 kB / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.581, allocations: 0 / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.581, allocations: 0 / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.5811, allocations: 310.8 kB / 0.5897 GB, free: 15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-06/0.5811, allocations: 4 kB / 0.5897 GB, free: 15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.5811, allocations: 8 kB / 0.5897 GB, free: 14.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.5812, allocations: 25.7 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5812, allocations: 4 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.365e-05/0.5813, allocations: 63.33 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.5813, allocations: 35.11 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5813, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5813, allocations: 3.953 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.5813, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5813, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.5814, allocations: 96 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.5814, allocations: 7.938 kB / 0.5898 GB, free: 14.83 MB / 410.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 6.781e-05/0.5814, allocations: 130.7 kB / 0.59 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-06/0.5815, allocations: 0.875 kB / 0.59 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.5815, allocations: 11.06 kB / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5815, allocations: 3.953 kB / 0.59 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5815, allocations: 4 kB / 0.59 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5815, allocations: 0 / 0.59 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.416e-05/0.5816, allocations: 145.7 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5816, allocations: 0 / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-06/0.5816, allocations: 8 kB / 0.5901 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5816, allocations: 0 / 0.5901 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.5816, allocations: 7.938 kB / 0.5901 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5816, allocations: 3.984 kB / 0.5901 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5816, allocations: 3.953 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.38e-05/0.5817, allocations: 86.78 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.5818, allocations: 81.11 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.5818, allocations: 3.984 kB / 0.5903 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.5818, allocations: 4.031 kB / 0.5903 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.5818, allocations: 0 / 0.5903 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.5818, allocations: 3.953 kB / 0.5903 GB, free: 14.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.611e-05/0.5819, allocations: 79.28 kB / 0.5904 GB, free: 14.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5819, allocations: 0 / 0.5904 GB, free: 14.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.5821, allocations: 63.92 kB / 0.5904 GB, free: 14.09 MB / 410.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.0004301/0.5826, allocations: 199.8 kB / 0.5906 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.5827, allocations: 59.34 kB / 0.5907 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5827, allocations: 0 / 0.5907 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.5827, allocations: 55.41 kB / 0.5907 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.498e-05/0.5828, allocations: 5.406 kB / 0.5908 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001503/0.583, allocations: 49.55 kB / 0.5908 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.5832, allocations: 0.6692 MB / 0.5915 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.26e-06/0.5832, allocations: 4.125 kB / 0.5915 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.025e-05/0.5832, allocations: 11.44 kB / 0.5915 GB, free: 12.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5833, allocations: 0 / 0.5915 GB, free: 12.98 MB / 410.7 MB Notification: Performance of Templates: time 0.003916/0.5872, allocations: 1.876 MB / 0.5933 GB, free: 11.11 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches