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.002657/0.002657, allocations: 169.8 kB / 8.742 MB, free: 344 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.523/1.523, allocations: 221.5 MB / 230.7 MB, free: 7.539 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.001028/0.001028, allocations: 99.77 kB / 281.6 MB, free: 5.262 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.2375/0.2375, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.037e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.511/0.6622, allocations: 85.5 MB / 0.5783 GB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.6625, allocations: 63.97 kB / 0.5783 GB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006987/0.6695, allocations: 2.439 MB / 0.5807 GB, free: 8.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6695, allocations: 0 / 0.5807 GB, free: 8.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.6695, allocations: 0 / 0.5807 GB, free: 8.477 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.0003556/0.6699, allocations: 368.3 kB / 0.581 GB, free: 8.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6699, allocations: 15.81 kB / 0.5811 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.67, allocations: 0 / 0.5811 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6701, allocations: 163.1 kB / 0.5812 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.6701, allocations: 0 / 0.5812 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.6702, allocations: 7.953 kB / 0.5812 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.527e-05/0.6702, allocations: 0 / 0.5812 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.25e-05/0.6703, allocations: 29.64 kB / 0.5813 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6703, allocations: 0 / 0.5813 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.6703, allocations: 4.562 kB / 0.5813 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.6703, allocations: 4 kB / 0.5813 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.6704, allocations: 126.2 kB / 0.5814 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.691e-05/0.6705, allocations: 14.58 kB / 0.5814 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.6705, allocations: 4.859 kB / 0.5814 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.6705, allocations: 8.078 kB / 0.5814 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.6706, allocations: 60.2 kB / 0.5815 GB, free: 7.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.6706, allocations: 4 kB / 0.5815 GB, free: 7.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002024/0.6708, allocations: 37.59 kB / 0.5815 GB, free: 7.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.6709, allocations: 85.11 kB / 0.5816 GB, free: 7.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.6709, allocations: 85 kB / 0.5817 GB, free: 7.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.671, allocations: 25.7 kB / 0.5817 GB, free: 7.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.671, allocations: 80.14 kB / 0.5818 GB, free: 7.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.671, allocations: 3.984 kB / 0.5818 GB, free: 7.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.671, allocations: 0 / 0.5818 GB, free: 7.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6712, allocations: 318.9 kB / 0.5821 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/0.6712, allocations: 0 / 0.5821 GB, free: 6.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.6712, allocations: 4 kB / 0.5821 GB, free: 6.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.6712, allocations: 0 / 0.5821 GB, free: 6.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6713, allocations: 0 / 0.5821 GB, free: 6.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.496e-05/0.6714, allocations: 33.7 kB / 0.5821 GB, free: 6.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.6714, allocations: 29.7 kB / 0.5821 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6714, allocations: 0 / 0.5821 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6714, allocations: 0 / 0.5821 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.6714, allocations: 4.094 kB / 0.5821 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.6715, allocations: 11.88 kB / 0.5822 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.6715, allocations: 8 kB / 0.5822 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.6715, allocations: 3.938 kB / 0.5822 GB, free: 6.75 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.776e-05/0.6716, allocations: 126.7 kB / 0.5823 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.63e-05/0.6717, allocations: 37.7 kB / 0.5823 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.6717, allocations: 0 / 0.5823 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.6718, allocations: 15.64 kB / 0.5823 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6718, allocations: 0 / 0.5823 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6718, allocations: 4.031 kB / 0.5823 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6718, allocations: 0 / 0.5823 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.56e-05/0.6719, allocations: 126.2 kB / 0.5825 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6719, allocations: 0 / 0.5825 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.6719, allocations: 0 / 0.5825 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.6719, allocations: 0 / 0.5825 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.6719, allocations: 0 / 0.5825 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.6719, allocations: 4 kB / 0.5825 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6719, allocations: 3.953 kB / 0.5825 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.6721, allocations: 73.06 kB / 0.5825 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.6721, allocations: 77.11 kB / 0.5826 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.6721, allocations: 0 / 0.5826 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.6721, allocations: 0 / 0.5826 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.6722, allocations: 3.984 kB / 0.5826 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.6722, allocations: 7.953 kB / 0.5826 GB, free: 6.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.6722, allocations: 79.22 kB / 0.5827 GB, free: 6.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6722, allocations: 0 / 0.5827 GB, free: 6.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.6725, allocations: 59.97 kB / 0.5828 GB, free: 6.051 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.0007858/0.6733, allocations: 0.6995 MB / 0.5834 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.2e-05/0.6734, allocations: 63.44 kB / 0.5835 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6734, allocations: 0 / 0.5835 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.6735, allocations: 55.41 kB / 0.5836 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.6e-05/0.6736, allocations: 0 / 0.5836 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.6739, allocations: 93.66 kB / 0.5836 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.6742, allocations: 0.6767 MB / 0.5843 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.511e-06/0.6742, allocations: 0 / 0.5843 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.6742, allocations: 15.42 kB / 0.5843 GB, free: 4.336 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6742, allocations: 0 / 0.5843 GB, free: 4.336 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.6979, allocations: 2.26 MB / 0.5865 GB, free: 2.082 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.6982, allocations: 159 kB / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.3, allocations: 4 kB / 0.5867 GB, free: 1.887 MB / 394.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