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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.477/1.477, allocations: 221.3 MB / 236 MB, free: 2.934 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.0008877/0.0008878, allocations: 87.86 kB / 287 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.973e-05, allocations: 4 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1523, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5028/0.6551, allocations: 86.17 MB / 0.5859 GB, free: 3.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.6554, allocations: 56.77 kB / 0.586 GB, free: 3.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006947/0.6624, allocations: 2.436 MB / 0.5884 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6624, allocations: 0 / 0.5884 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.6624, allocations: 0 / 0.5884 GB, free: 0.6016 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.0004079/0.6629, allocations: 372.2 kB / 0.5887 GB, free: 192 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.6629, allocations: 16.03 kB / 0.5887 GB, free: 176 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.663, allocations: 30.56 kB / 0.5888 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.663, allocations: 0 / 0.5888 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.6631, allocations: 163.1 kB / 0.5889 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.6632, allocations: 0 / 0.5889 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.6632, allocations: 3.953 kB / 0.5889 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.6633, allocations: 33.64 kB / 0.589 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.6633, allocations: 0 / 0.589 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.6633, allocations: 0 / 0.589 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.6633, allocations: 0 / 0.589 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.6634, allocations: 12 kB / 0.589 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.6635, allocations: 141.7 kB / 0.5891 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.6636, allocations: 18.56 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.6636, allocations: 8.953 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.6636, allocations: 7.891 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6636, allocations: 60.27 kB / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.6637, allocations: 0 / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001622/0.6638, allocations: 63.41 kB / 0.5893 GB, free: 15.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.6639, allocations: 77.11 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.173e-05/0.6639, allocations: 85 kB / 0.5894 GB, free: 15.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.664, allocations: 29.69 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.664, allocations: 80.14 kB / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.664, allocations: 4 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.664, allocations: 0 / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6642, allocations: 310.8 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.6642, allocations: 4.031 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.6642, allocations: 4 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.6642, allocations: 33.64 kB / 0.5899 GB, free: 14.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6642, allocations: 3.938 kB / 0.5899 GB, free: 14.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.025e-05/0.6643, allocations: 59.41 kB / 0.5899 GB, free: 14.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.6644, allocations: 34.62 kB / 0.59 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6644, allocations: 3.953 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6644, allocations: 0 / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.6644, allocations: 0 / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6644, allocations: 8.031 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.6644, allocations: 4 kB / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6644, allocations: 0 / 0.59 GB, free: 14.7 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 () * 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.815e-05/0.6645, allocations: 126.7 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.6645, allocations: 0 / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.585e-05/0.6646, allocations: 15.06 kB / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6646, allocations: 3.953 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6646, allocations: 0.875 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6646, allocations: 3.984 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.609e-05/0.6647, allocations: 149.7 kB / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6647, allocations: 0 / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6647, allocations: 0 / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.6647, allocations: 4 kB / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.6647, allocations: 4 kB / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.6647, allocations: 0 / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6647, allocations: 7.891 kB / 0.5903 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.459e-05/0.6648, allocations: 90.83 kB / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.6649, allocations: 81.14 kB / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.6649, allocations: 0 / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.6649, allocations: 0 / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.665, allocations: 11.94 kB / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.665, allocations: 0 / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.665, allocations: 75.28 kB / 0.5905 GB, free: 14.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.665, allocations: 0 / 0.5905 GB, free: 14.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.6653, allocations: 63.92 kB / 0.5906 GB, free: 13.97 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) * 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.000707/0.666, allocations: 0.7288 MB / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.801e-05/0.6661, allocations: 59.41 kB / 0.5913 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6661, allocations: 0 / 0.5913 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.6662, allocations: 55.5 kB / 0.5914 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.895e-05/0.6662, allocations: 6.844 kB / 0.5914 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.6665, allocations: 107 kB / 0.5915 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.6668, allocations: 0.6755 MB / 0.5922 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.645e-06/0.6668, allocations: 3.984 kB / 0.5922 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.6668, allocations: 11.44 kB / 0.5922 GB, free: 12.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6668, allocations: 0 / 0.5922 GB, free: 12.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.6805, allocations: 2.532 MB / 0.5947 GB, free: 9.781 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.6807, allocations: 189.3 kB / 0.5948 GB, free: 9.555 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.279, allocations: 0 / 0.5948 GB, free: 9.555 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat