Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00096/0.0009601, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.521/1.521, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007898/0.0007901, allocations: 97.3 kB / 271.9 MB, free: 8.281 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.3714/0.3714, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 12 kB / 432.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 58.86 MB / 491.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3432/0.4776, allocations: 84.99 MB / 0.5629 GB, free: 1.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.4779, allocations: 55.98 kB / 0.563 GB, free: 1.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004798/0.4827, allocations: 2.037 MB / 0.565 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4827, allocations: 0 / 0.565 GB, free: 15.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.4827, allocations: 2.156 kB / 0.565 GB, free: 15.39 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.00035/0.4831, allocations: 361.3 kB / 0.5653 GB, free: 14.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4831, allocations: 12.03 kB / 0.5653 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.4832, allocations: 0.9375 kB / 0.5653 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.4833, allocations: 168 kB / 0.5655 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.4833, allocations: 384 / 0.5655 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.4833, allocations: 4.375 kB / 0.5655 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.442e-05/0.4834, allocations: 30.27 kB / 0.5655 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4834, allocations: 4.125 kB / 0.5655 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4834, allocations: 3.938 kB / 0.5655 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4834, allocations: 0 / 0.5655 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.4835, allocations: 3.938 kB / 0.5655 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.4836, allocations: 153.7 kB / 0.5657 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.4837, allocations: 14.58 kB / 0.5657 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.4837, allocations: 8.953 kB / 0.5657 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.4837, allocations: 7.984 kB / 0.5657 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/0.4838, allocations: 56.27 kB / 0.5658 GB, free: 14.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4838, allocations: 1.219 kB / 0.5658 GB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001808/0.484, allocations: 72.02 kB / 0.5658 GB, free: 14.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.484, allocations: 83.84 kB / 0.5659 GB, free: 14.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.4841, allocations: 89.86 kB / 0.566 GB, free: 14.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4841, allocations: 25.7 kB / 0.566 GB, free: 14.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.4841, allocations: 80.14 kB / 0.5661 GB, free: 14.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.4842, allocations: 8.938 kB / 0.5661 GB, free: 14.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.4842, allocations: 0 / 0.5661 GB, free: 14.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4843, allocations: 310.8 kB / 0.5664 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.4843, allocations: 0 / 0.5664 GB, free: 13.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-06/0.4843, allocations: 4 kB / 0.5664 GB, free: 13.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.944e-05/0.4844, allocations: 60.27 kB / 0.5665 GB, free: 13.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4844, allocations: 0 / 0.5665 GB, free: 13.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.79e-05/0.4845, allocations: 74.05 kB / 0.5665 GB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.4845, allocations: 29.7 kB / 0.5666 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4845, allocations: 1.75 kB / 0.5666 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4846, allocations: 3.938 kB / 0.5666 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.4846, allocations: 4 kB / 0.5666 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4846, allocations: 0 / 0.5666 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.4846, allocations: 4.094 kB / 0.5666 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.4846, allocations: 0 / 0.5666 GB, free: 13.49 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 0.000133/0.4847, allocations: 139.5 kB / 0.5667 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-06/0.4848, allocations: 0 / 0.5667 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.452e-05/0.4848, allocations: 7.062 kB / 0.5667 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.4848, allocations: 0 / 0.5667 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4848, allocations: 0 / 0.5667 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4848, allocations: 0 / 0.5667 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.4849, allocations: 153.6 kB / 0.5669 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.4849, allocations: 4 kB / 0.5669 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4849, allocations: 0 / 0.5669 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4849, allocations: 1.188 kB / 0.5669 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.485, allocations: 3.938 kB / 0.5669 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.485, allocations: 0 / 0.5669 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.485, allocations: 0 / 0.5669 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.817e-05/0.4851, allocations: 96.8 kB / 0.567 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.4851, allocations: 81.11 kB / 0.567 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.4852, allocations: 11.97 kB / 0.567 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.4852, allocations: 0 / 0.567 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.4852, allocations: 0 / 0.567 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4852, allocations: 2.562 kB / 0.567 GB, free: 12.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.923e-05/0.4852, allocations: 75.28 kB / 0.5671 GB, free: 12.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4852, allocations: 0 / 0.5671 GB, free: 12.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.4855, allocations: 56.81 kB / 0.5672 GB, free: 12.77 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.0004236/0.486, allocations: 198.5 kB / 0.5674 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.59e-05/0.4861, allocations: 59.41 kB / 0.5674 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4861, allocations: 3.938 kB / 0.5674 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.4861, allocations: 59.39 kB / 0.5675 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.4862, allocations: 2.812 kB / 0.5675 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.4864, allocations: 99.22 kB / 0.5676 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4867, allocations: 0.6692 MB / 0.5682 GB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-06/0.4867, allocations: 11.56 kB / 0.5682 GB, free: 11.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4867, allocations: 0 / 0.5682 GB, free: 11.59 MB / 394.7 MB Notification: Performance of Templates: time 0.003283/0.49, allocations: 1.658 MB / 0.5699 GB, free: 9.938 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches