Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 180.2 kB / 16.77 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000782/0.0007823, allocations: 85.03 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4475/0.4475, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 8 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.5049, allocations: 84.99 MB / 0.5629 GB, free: 1.012 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.5052, allocations: 59.97 kB / 0.563 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005086/0.5103, allocations: 2.028 MB / 0.565 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5104, allocations: 0 / 0.565 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.5104, allocations: 0 / 0.565 GB, free: 14.93 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.0003224/0.5107, allocations: 371.4 kB / 0.5653 GB, free: 14.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5108, allocations: 8.031 kB / 0.5653 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.5108, allocations: 0.9375 kB / 0.5653 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.5109, allocations: 161.1 kB / 0.5655 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5109, allocations: 2.188 kB / 0.5655 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.5109, allocations: 4.375 kB / 0.5655 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.511, allocations: 36.84 kB / 0.5655 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5111, allocations: 192 / 0.5655 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5111, allocations: 3.938 kB / 0.5655 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5111, allocations: 7.922 kB / 0.5655 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.5111, allocations: 7.938 kB / 0.5656 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.5113, allocations: 149.6 kB / 0.5657 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.5113, allocations: 14.67 kB / 0.5657 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.5113, allocations: 8.859 kB / 0.5657 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-06/0.5113, allocations: 0 / 0.5657 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.5114, allocations: 64.25 kB / 0.5658 GB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.5114, allocations: 0 / 0.5658 GB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.5116, allocations: 68 kB / 0.5658 GB, free: 13.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.5116, allocations: 81.14 kB / 0.5659 GB, free: 13.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.157e-05/0.5117, allocations: 89.86 kB / 0.566 GB, free: 13.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.5117, allocations: 29.7 kB / 0.566 GB, free: 13.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.5117, allocations: 80.14 kB / 0.5661 GB, free: 13.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.5118, allocations: 0.9375 kB / 0.5661 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-06/0.5118, allocations: 0 / 0.5661 GB, free: 13.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5119, allocations: 321.5 kB / 0.5664 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.5119, allocations: 0 / 0.5664 GB, free: 13.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.5119, allocations: 8 kB / 0.5664 GB, free: 13.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.512, allocations: 60.2 kB / 0.5665 GB, free: 13.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.512, allocations: 0 / 0.5665 GB, free: 13.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.792e-05/0.512, allocations: 59.41 kB / 0.5665 GB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.5121, allocations: 41.69 kB / 0.5666 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5121, allocations: 0.875 kB / 0.5666 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5121, allocations: 3.938 kB / 0.5666 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.5121, allocations: 0 / 0.5666 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5121, allocations: 0 / 0.5666 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.5121, allocations: 4.094 kB / 0.5666 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.5122, allocations: 0 / 0.5666 GB, free: 13.03 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 () * 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 7.666e-05/0.5122, allocations: 135.5 kB / 0.5667 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-06/0.5123, allocations: 0 / 0.5667 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.5123, allocations: 7.062 kB / 0.5667 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5123, allocations: 2.438 kB / 0.5667 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5123, allocations: 3.984 kB / 0.5667 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5123, allocations: 4 kB / 0.5667 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.434e-05/0.5124, allocations: 141.7 kB / 0.5669 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5124, allocations: 4 kB / 0.5669 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-06/0.5124, allocations: 0 / 0.5669 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.5124, allocations: 3.938 kB / 0.5669 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.5124, allocations: 3.938 kB / 0.5669 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5124, allocations: 4 kB / 0.5669 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5124, allocations: 3.938 kB / 0.5669 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.436e-05/0.5125, allocations: 88.86 kB / 0.567 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.5126, allocations: 85.14 kB / 0.5671 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.5126, allocations: 3.938 kB / 0.5671 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.5126, allocations: 7.922 kB / 0.5671 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.5126, allocations: 4 kB / 0.5671 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.5126, allocations: 0 / 0.5671 GB, free: 12.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.469e-05/0.5127, allocations: 75.28 kB / 0.5671 GB, free: 12.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5127, allocations: 4 kB / 0.5671 GB, free: 12.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.5129, allocations: 51.98 kB / 0.5672 GB, free: 12.3 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) * 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.0003821/0.5133, allocations: 199.9 kB / 0.5674 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.5134, allocations: 63.34 kB / 0.5674 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5134, allocations: 0 / 0.5674 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.5135, allocations: 55.41 kB / 0.5675 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.5136, allocations: 0 / 0.5675 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001728/0.5138, allocations: 77.5 kB / 0.5676 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.514, allocations: 0.6694 MB / 0.5682 GB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.269e-06/0.514, allocations: 4 kB / 0.5682 GB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.036e-05/0.514, allocations: 11.44 kB / 0.5682 GB, free: 11.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.514, allocations: 0 / 0.5682 GB, free: 11.16 MB / 394.7 MB Notification: Performance of Templates: time 0.003941/0.518, allocations: 1.858 MB / 0.5701 GB, free: 9.312 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches