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.0009435/0.0009437, allocations: 183 kB / 18.09 MB, free: 3.727 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.366/1.366, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0008011/0.0008014, allocations: 101.7 kB / 293.3 MB, free: 10.77 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.3785/0.3785, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4105, allocations: 61.88 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.5338, allocations: 86.24 MB / 0.5949 GB, free: 8.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.5341, allocations: 63.97 kB / 0.595 GB, free: 8.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006382/0.5405, allocations: 2.267 MB / 0.5972 GB, free: 6.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5405, allocations: 0 / 0.5972 GB, free: 6.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.5405, allocations: 0 / 0.5972 GB, free: 6.492 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.0003716/0.5409, allocations: 373.2 kB / 0.5976 GB, free: 6.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5409, allocations: 8.031 kB / 0.5976 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.541, allocations: 4.938 kB / 0.5976 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.5411, allocations: 160.4 kB / 0.5977 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.5411, allocations: 384 / 0.5977 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.5411, allocations: 384 / 0.5977 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.441e-05/0.5412, allocations: 34.05 kB / 0.5978 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5412, allocations: 192 / 0.5978 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5413, allocations: 3.938 kB / 0.5978 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5413, allocations: 4 kB / 0.5978 GB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.5413, allocations: 3.938 kB / 0.5978 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.5414, allocations: 149.7 kB / 0.5979 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/0.5415, allocations: 22.59 kB / 0.5979 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.5415, allocations: 4.859 kB / 0.5979 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.5415, allocations: 0 / 0.5979 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.5416, allocations: 64.33 kB / 0.598 GB, free: 5.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.5416, allocations: 3.938 kB / 0.598 GB, free: 5.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001844/0.5418, allocations: 79.17 kB / 0.5981 GB, free: 5.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.5418, allocations: 77.11 kB / 0.5982 GB, free: 5.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.244e-05/0.5419, allocations: 89.86 kB / 0.5982 GB, free: 5.219 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.5419, allocations: 25.7 kB / 0.5983 GB, free: 5.188 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.542, allocations: 80.14 kB / 0.5983 GB, free: 5.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.542, allocations: 0 / 0.5983 GB, free: 5.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.542, allocations: 0 / 0.5983 GB, free: 5.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5421, allocations: 319 kB / 0.5987 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.5421, allocations: 0 / 0.5987 GB, free: 4.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.5422, allocations: 0 / 0.5987 GB, free: 4.785 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.5422, allocations: 68.25 kB / 0.5987 GB, free: 4.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5422, allocations: 0 / 0.5987 GB, free: 4.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.675e-05/0.5423, allocations: 63.34 kB / 0.5988 GB, free: 4.629 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.5423, allocations: 29.7 kB / 0.5988 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5424, allocations: 0 / 0.5988 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5424, allocations: 8.031 kB / 0.5988 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.909e-06/0.5424, allocations: 7.922 kB / 0.5988 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5424, allocations: 0 / 0.5988 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.5424, allocations: 4 kB / 0.5988 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.5424, allocations: 7.984 kB / 0.5988 GB, free: 4.566 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 9.067e-05/0.5425, allocations: 131.5 kB / 0.599 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.5426, allocations: 8 kB / 0.599 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.5426, allocations: 10.66 kB / 0.599 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5426, allocations: 0 / 0.599 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5426, allocations: 4 kB / 0.599 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5426, allocations: 0 / 0.599 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.5427, allocations: 145.7 kB / 0.5991 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5427, allocations: 4 kB / 0.5991 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.5427, allocations: 0 / 0.5991 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5427, allocations: 0 / 0.5991 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.5427, allocations: 3.938 kB / 0.5991 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5428, allocations: 0 / 0.5991 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5428, allocations: 0 / 0.5991 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.5429, allocations: 102.8 kB / 0.5992 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.5429, allocations: 77.11 kB / 0.5993 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.5429, allocations: 3.938 kB / 0.5993 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-06/0.543, allocations: 0 / 0.5993 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.543, allocations: 4 kB / 0.5993 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.543, allocations: 0 / 0.5993 GB, free: 3.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3e-05/0.543, allocations: 75.28 kB / 0.5994 GB, free: 3.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.543, allocations: 0 / 0.5994 GB, free: 3.902 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.5433, allocations: 67.86 kB / 0.5994 GB, free: 3.836 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.0004556/0.5438, allocations: 201.3 kB / 0.5996 GB, free: 3.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.5439, allocations: 59.41 kB / 0.5997 GB, free: 3.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5439, allocations: 0 / 0.5997 GB, free: 3.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.544, allocations: 63.34 kB / 0.5997 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.5441, allocations: 0 / 0.5997 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.5443, allocations: 86.81 kB / 0.5998 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.5446, allocations: 0.6692 MB / 0.6005 GB, free: 2.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.883e-06/0.5446, allocations: 0 / 0.6005 GB, free: 2.688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.5446, allocations: 7.438 kB / 0.6005 GB, free: 2.68 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5446, allocations: 0 / 0.6005 GB, free: 2.68 MB / 410.7 MB Notification: Performance of Templates: time 0.004966/0.5496, allocations: 2.039 MB / 0.6025 GB, free: 0.6406 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/jenkins1/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