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.001413/0.001413, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.001188/0.001189, allocations: 94.41 kB / 281.6 MB, free: 5.328 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.2218/0.2218, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.929e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1512, allocations: 61.91 MB / 0.4947 GB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5187/0.67, allocations: 85.5 MB / 0.5782 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.6702, allocations: 63.97 kB / 0.5782 GB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006212/0.6764, allocations: 2.437 MB / 0.5806 GB, free: 8.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6765, allocations: 4 kB / 0.5806 GB, free: 8.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.6765, allocations: 0 / 0.5806 GB, free: 8.57 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.000329/0.6768, allocations: 360.2 kB / 0.581 GB, free: 8.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6769, allocations: 11.98 kB / 0.581 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.6769, allocations: 0 / 0.581 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.677, allocations: 159.1 kB / 0.5811 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.677, allocations: 0.625 kB / 0.5811 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.6771, allocations: 7.953 kB / 0.5811 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.721e-05/0.6771, allocations: 4 kB / 0.5811 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.668e-05/0.6772, allocations: 40.58 kB / 0.5812 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.6772, allocations: 0 / 0.5812 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.6772, allocations: 0 / 0.5812 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6772, allocations: 4 kB / 0.5812 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.6774, allocations: 126.2 kB / 0.5813 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.774e-05/0.6774, allocations: 14.58 kB / 0.5813 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.6774, allocations: 4.859 kB / 0.5813 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.6774, allocations: 4.094 kB / 0.5813 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.6775, allocations: 60.27 kB / 0.5814 GB, free: 7.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.6775, allocations: 0 / 0.5814 GB, free: 7.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002072/0.6777, allocations: 41.64 kB / 0.5814 GB, free: 7.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.6778, allocations: 85.05 kB / 0.5815 GB, free: 7.484 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.768e-05/0.6778, allocations: 85 kB / 0.5816 GB, free: 7.395 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.6778, allocations: 25.7 kB / 0.5816 GB, free: 7.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.6779, allocations: 80.14 kB / 0.5817 GB, free: 7.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.6779, allocations: 0 / 0.5817 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.6779, allocations: 4.031 kB / 0.5817 GB, free: 7.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.678, allocations: 310.8 kB / 0.582 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-06/0.6781, allocations: 0 / 0.582 GB, free: 6.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.6781, allocations: 4 kB / 0.582 GB, free: 6.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.6781, allocations: 0 / 0.582 GB, free: 6.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6781, allocations: 0 / 0.582 GB, free: 6.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.672e-05/0.6782, allocations: 41.69 kB / 0.582 GB, free: 6.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.6782, allocations: 29.7 kB / 0.582 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6782, allocations: 4.094 kB / 0.582 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6782, allocations: 0 / 0.582 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-06/0.6783, allocations: 0.8438 kB / 0.582 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.6783, allocations: 7.891 kB / 0.5821 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.6783, allocations: 4 kB / 0.5821 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.6783, allocations: 0 / 0.5821 GB, free: 6.863 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 8.714e-05/0.6784, allocations: 132.9 kB / 0.5822 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.6784, allocations: 7.984 kB / 0.5822 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.6784, allocations: 7.703 kB / 0.5822 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.6784, allocations: 4 kB / 0.5822 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.6784, allocations: 0 / 0.5822 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6785, allocations: 7.891 kB / 0.5822 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.454e-05/0.6785, allocations: 122.2 kB / 0.5823 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.6786, allocations: 0 / 0.5823 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.6786, allocations: 0 / 0.5823 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.6786, allocations: 4 kB / 0.5823 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.6786, allocations: 0 / 0.5823 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6786, allocations: 3.984 kB / 0.5823 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6786, allocations: 0 / 0.5823 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.019e-05/0.6787, allocations: 65.09 kB / 0.5824 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.6787, allocations: 81.11 kB / 0.5825 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.6788, allocations: 3.984 kB / 0.5825 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-06/0.6788, allocations: 0 / 0.5825 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.6788, allocations: 0 / 0.5825 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.6788, allocations: 0 / 0.5825 GB, free: 6.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.6788, allocations: 75.28 kB / 0.5826 GB, free: 6.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6788, allocations: 4 kB / 0.5826 GB, free: 6.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.6791, allocations: 67.95 kB / 0.5826 GB, free: 6.203 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.0004284/0.6796, allocations: 200.1 kB / 0.5828 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.6797, allocations: 55.41 kB / 0.5829 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6797, allocations: 0 / 0.5829 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.6797, allocations: 59.41 kB / 0.5829 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.127e-05/0.6798, allocations: 12.02 kB / 0.5829 GB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000168/0.68, allocations: 44.06 kB / 0.583 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.6803, allocations: 0.6729 MB / 0.5836 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.702e-06/0.6803, allocations: 0 / 0.5836 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.6803, allocations: 7.438 kB / 0.5836 GB, free: 5.078 MB / 394.7 MB Notification: Performance of SimCode: time 2.054e-06/0.6803, allocations: 0 / 0.5836 GB, free: 5.078 MB / 394.7 MB Notification: Performance of Templates: time 0.004304/0.6846, allocations: 1.871 MB / 0.5855 GB, free: 3.211 MB / 394.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