Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 90.38 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 45.16 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.715e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.6131, allocations: 86.54 MB / 0.589 GB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.6134, allocations: 61.39 kB / 0.589 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006325/0.6198, allocations: 2.438 MB / 0.5914 GB, free: 13.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6198, allocations: 3.188 kB / 0.5914 GB, free: 13.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.6198, allocations: 0 / 0.5914 GB, free: 13.84 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.0003532/0.6202, allocations: 368.2 kB / 0.5918 GB, free: 13.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6202, allocations: 8.031 kB / 0.5918 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.6203, allocations: 0.8438 kB / 0.5918 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.6204, allocations: 163 kB / 0.5919 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6204, allocations: 4 kB / 0.5919 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.6204, allocations: 0 / 0.5919 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.745e-05/0.6204, allocations: 4 kB / 0.5919 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.489e-05/0.6205, allocations: 33.39 kB / 0.592 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6205, allocations: 4 kB / 0.592 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.6205, allocations: 3.984 kB / 0.592 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.6205, allocations: 0 / 0.592 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.6207, allocations: 134.1 kB / 0.5921 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.471e-05/0.6207, allocations: 14.58 kB / 0.5921 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.6207, allocations: 12.95 kB / 0.5921 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.6207, allocations: 0 / 0.5921 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.6208, allocations: 56.27 kB / 0.5922 GB, free: 12.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.6208, allocations: 0 / 0.5922 GB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001781/0.621, allocations: 41.58 kB / 0.5922 GB, free: 12.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.621, allocations: 81.09 kB / 0.5923 GB, free: 12.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.166e-05/0.621, allocations: 85 kB / 0.5924 GB, free: 12.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.6211, allocations: 25.7 kB / 0.5924 GB, free: 12.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.6211, allocations: 84.17 kB / 0.5925 GB, free: 12.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.6211, allocations: 0 / 0.5925 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.6211, allocations: 0 / 0.5925 GB, free: 12.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.6212, allocations: 310.8 kB / 0.5928 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.6212, allocations: 4 kB / 0.5928 GB, free: 12.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/0.6213, allocations: 0 / 0.5928 GB, free: 12.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.6213, allocations: 0 / 0.5928 GB, free: 12.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6213, allocations: 0 / 0.5928 GB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.442e-05/0.6214, allocations: 53.58 kB / 0.5928 GB, free: 12.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.6214, allocations: 29.7 kB / 0.5929 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6214, allocations: 0 / 0.5929 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6215, allocations: 0 / 0.5929 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.416e-06/0.6215, allocations: 7.938 kB / 0.5929 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.6215, allocations: 0 / 0.5929 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.12e-05/0.6215, allocations: 0 / 0.5929 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.6215, allocations: 0 / 0.5929 GB, free: 12.13 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 7.018e-05/0.6216, allocations: 130.7 kB / 0.593 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.194e-05/0.6216, allocations: 45.67 kB / 0.593 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.6217, allocations: 0 / 0.593 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.541e-05/0.6217, allocations: 7.703 kB / 0.593 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.6217, allocations: 0 / 0.593 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6217, allocations: 4 kB / 0.593 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6217, allocations: 0 / 0.593 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.961e-05/0.6218, allocations: 134.2 kB / 0.5932 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.6218, allocations: 0 / 0.5932 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.6218, allocations: 3.953 kB / 0.5932 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.6218, allocations: 0 / 0.5932 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.6218, allocations: 0 / 0.5932 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.6218, allocations: 4.031 kB / 0.5932 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6218, allocations: 0 / 0.5932 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.144e-05/0.6219, allocations: 69 kB / 0.5932 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.622, allocations: 77.11 kB / 0.5933 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.622, allocations: 7.891 kB / 0.5933 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.622, allocations: 0 / 0.5933 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.622, allocations: 4 kB / 0.5933 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.622, allocations: 4.031 kB / 0.5933 GB, free: 11.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.208e-05/0.6221, allocations: 75.28 kB / 0.5934 GB, free: 11.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6221, allocations: 0 / 0.5934 GB, free: 11.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.6224, allocations: 63.73 kB / 0.5935 GB, free: 11.44 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.0006899/0.6231, allocations: 0.689 MB / 0.5941 GB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.6232, allocations: 55.41 kB / 0.5942 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6232, allocations: 0 / 0.5942 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.6232, allocations: 55.41 kB / 0.5942 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.894e-05/0.6233, allocations: 3.953 kB / 0.5943 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.6236, allocations: 101.3 kB / 0.5943 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.6239, allocations: 0.6885 MB / 0.595 GB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.302e-06/0.6239, allocations: 0 / 0.595 GB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.6239, allocations: 15.38 kB / 0.595 GB, free: 9.727 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6239, allocations: 0 / 0.595 GB, free: 9.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.6449, allocations: 2.254 MB / 0.5972 GB, free: 7.484 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.6452, allocations: 161.6 kB / 0.5974 GB, free: 7.293 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.176, allocations: 0 / 0.5974 GB, free: 7.293 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat