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.001342/0.001342, allocations: 177.1 kB / 17.06 MB, free: 5.098 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.365/1.365, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009041, allocations: 88.77 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3761/0.3761, allocations: 44.22 MB / 387.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004218, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4302, allocations: 61.89 MB / 0.5095 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.5543, allocations: 86.24 MB / 0.5938 GB, free: 8.887 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5546, allocations: 63.97 kB / 0.5938 GB, free: 8.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00694/0.5616, allocations: 2.439 MB / 0.5962 GB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5616, allocations: 0 / 0.5962 GB, free: 6.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.5616, allocations: 4 kB / 0.5962 GB, free: 6.379 MB / 410.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.0003732/0.562, allocations: 361.1 kB / 0.5966 GB, free: 5.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5621, allocations: 11.97 kB / 0.5966 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.5621, allocations: 4 kB / 0.5966 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.5622, allocations: 163.1 kB / 0.5967 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.5622, allocations: 4 kB / 0.5967 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.5623, allocations: 7.953 kB / 0.5967 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.991e-05/0.5623, allocations: 33.7 kB / 0.5968 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.5624, allocations: 3.938 kB / 0.5968 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.5624, allocations: 0 / 0.5968 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5624, allocations: 0 / 0.5968 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.5624, allocations: 0 / 0.5968 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.5626, allocations: 149.7 kB / 0.5969 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.5626, allocations: 22.52 kB / 0.5969 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.5626, allocations: 0 / 0.5969 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.5627, allocations: 64.22 kB / 0.597 GB, free: 5.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.5627, allocations: 4.094 kB / 0.597 GB, free: 5.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001768/0.5629, allocations: 63.3 kB / 0.5971 GB, free: 5.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.5629, allocations: 85.09 kB / 0.5971 GB, free: 5.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.563, allocations: 85 kB / 0.5972 GB, free: 5.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.563, allocations: 33.77 kB / 0.5973 GB, free: 5.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.5631, allocations: 80.14 kB / 0.5973 GB, free: 5.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.5631, allocations: 0 / 0.5973 GB, free: 5.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.5631, allocations: 0 / 0.5973 GB, free: 5.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5632, allocations: 314.8 kB / 0.5976 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.5633, allocations: 4 kB / 0.5976 GB, free: 4.688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-06/0.5633, allocations: 3.938 kB / 0.5976 GB, free: 4.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.5633, allocations: 25.7 kB / 0.5977 GB, free: 4.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5633, allocations: 4.062 kB / 0.5977 GB, free: 4.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.163e-05/0.5634, allocations: 63.39 kB / 0.5977 GB, free: 4.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.5634, allocations: 29.7 kB / 0.5978 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5635, allocations: 0 / 0.5978 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5635, allocations: 7.953 kB / 0.5978 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.5635, allocations: 0 / 0.5978 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5635, allocations: 0 / 0.5978 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.5635, allocations: 0 / 0.5978 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.5635, allocations: 0 / 0.5978 GB, free: 4.531 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 () * 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.0001009/0.5636, allocations: 148 kB / 0.5979 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.5637, allocations: 0 / 0.5979 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.5637, allocations: 14.69 kB / 0.5979 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5637, allocations: 0 / 0.5979 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5637, allocations: 3.953 kB / 0.5979 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5637, allocations: 0 / 0.5979 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.5638, allocations: 145.7 kB / 0.5981 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5638, allocations: 0 / 0.5981 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.5639, allocations: 0 / 0.5981 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5639, allocations: 0 / 0.5981 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5639, allocations: 3.984 kB / 0.5981 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.5639, allocations: 4 kB / 0.5981 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5639, allocations: 4 kB / 0.5981 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.564, allocations: 90.73 kB / 0.5982 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.5641, allocations: 81.09 kB / 0.5982 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.5641, allocations: 4 kB / 0.5982 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-06/0.5641, allocations: 0 / 0.5982 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.5641, allocations: 0 / 0.5982 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.5641, allocations: 4.031 kB / 0.5982 GB, free: 3.934 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.315e-05/0.5642, allocations: 83.17 kB / 0.5983 GB, free: 3.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5642, allocations: 0 / 0.5983 GB, free: 3.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00027/0.5645, allocations: 59.94 kB / 0.5984 GB, free: 3.793 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) * 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.0004649/0.5649, allocations: 209.9 kB / 0.5986 GB, free: 3.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.5651, allocations: 63.34 kB / 0.5986 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5651, allocations: 4.062 kB / 0.5986 GB, free: 3.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.5651, allocations: 59.39 kB / 0.5987 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.313e-05/0.5652, allocations: 0 / 0.5987 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.5654, allocations: 74.77 kB / 0.5988 GB, free: 3.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.5657, allocations: 0.6731 MB / 0.5994 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.035e-05/0.5657, allocations: 0 / 0.5994 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.5658, allocations: 11.44 kB / 0.5994 GB, free: 2.629 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5658, allocations: 0 / 0.5994 GB, free: 2.629 MB / 410.7 MB Notification: Performance of Templates: time 0.004866/0.5707, allocations: 1.862 MB / 0.6013 GB, free: 0.7656 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