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.001701/0.0017, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001025, allocations: 92.62 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5019/0.5019, allocations: 45.23 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003137, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4883, allocations: 63.24 MB / 0.5193 GB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.6231, allocations: 87.29 MB / 0.6045 GB, free: 2.332 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.6234, allocations: 63.94 kB / 0.6046 GB, free: 2.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006814/0.6302, allocations: 2.442 MB / 0.607 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6302, allocations: 0 / 0.607 GB, free: 15.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.6303, allocations: 2.094 kB / 0.607 GB, free: 15.83 MB / 426.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.0003784/0.6307, allocations: 373 kB / 0.6073 GB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6307, allocations: 12.03 kB / 0.6073 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.6308, allocations: 30.56 kB / 0.6073 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.6308, allocations: 0 / 0.6073 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.6309, allocations: 168.4 kB / 0.6075 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.631, allocations: 0 / 0.6075 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.631, allocations: 0 / 0.6075 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.6311, allocations: 34.3 kB / 0.6075 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.6311, allocations: 0.625 kB / 0.6075 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.6311, allocations: 1.969 kB / 0.6075 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6311, allocations: 0 / 0.6075 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.6312, allocations: 7.938 kB / 0.6076 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.6313, allocations: 145.6 kB / 0.6077 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.6314, allocations: 20.28 kB / 0.6077 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-06/0.6314, allocations: 3.938 kB / 0.6077 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.6315, allocations: 64.36 kB / 0.6078 GB, free: 14.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6315, allocations: 1 kB / 0.6078 GB, free: 14.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002194/0.6317, allocations: 64.94 kB / 0.6078 GB, free: 14.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.6318, allocations: 81.09 kB / 0.6079 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.6318, allocations: 85 kB / 0.608 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.6319, allocations: 25.7 kB / 0.608 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.6319, allocations: 84.8 kB / 0.6081 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.6319, allocations: 0.8438 kB / 0.6081 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.632, allocations: 0 / 0.6081 GB, free: 14.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6321, allocations: 319.7 kB / 0.6084 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.6321, allocations: 0 / 0.6084 GB, free: 14.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.6322, allocations: 0.8125 kB / 0.6084 GB, free: 14.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.6322, allocations: 26.39 kB / 0.6084 GB, free: 14.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6322, allocations: 7.953 kB / 0.6084 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.813e-05/0.6323, allocations: 66.8 kB / 0.6085 GB, free: 14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.6323, allocations: 35.73 kB / 0.6085 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6323, allocations: 0 / 0.6085 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6324, allocations: 0 / 0.6085 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.6324, allocations: 0 / 0.6085 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6324, allocations: 0 / 0.6085 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.6324, allocations: 0 / 0.6085 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.6324, allocations: 0 / 0.6085 GB, free: 13.96 MB / 426.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.0001064/0.6325, allocations: 140.5 kB / 0.6087 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.6325, allocations: 3.953 kB / 0.6087 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.6326, allocations: 11.64 kB / 0.6087 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.6326, allocations: 0 / 0.6087 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.6326, allocations: 4.219 kB / 0.6087 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6326, allocations: 4 kB / 0.6087 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.6327, allocations: 145.7 kB / 0.6088 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6327, allocations: 4 kB / 0.6088 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-06/0.6328, allocations: 3.953 kB / 0.6088 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.6328, allocations: 0 / 0.6088 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.6328, allocations: 4 kB / 0.6088 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6328, allocations: 3.984 kB / 0.6089 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6328, allocations: 0 / 0.6089 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.6329, allocations: 94.77 kB / 0.6089 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.633, allocations: 81.11 kB / 0.609 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.633, allocations: 7.938 kB / 0.609 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-06/0.633, allocations: 0 / 0.609 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.633, allocations: 0 / 0.609 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.633, allocations: 0 / 0.609 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.856e-05/0.6331, allocations: 83.22 kB / 0.6091 GB, free: 13.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6331, allocations: 3.938 kB / 0.6091 GB, free: 13.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.6334, allocations: 56 kB / 0.6092 GB, free: 13.22 MB / 426.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.0009036/0.6343, allocations: 0.7227 MB / 0.6099 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.6345, allocations: 63.34 kB / 0.6099 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6345, allocations: 4.094 kB / 0.6099 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.6345, allocations: 55.41 kB / 0.61 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.961e-05/0.6346, allocations: 10.02 kB / 0.61 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.635, allocations: 126.8 kB / 0.6101 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.6353, allocations: 0.6755 MB / 0.6108 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.336e-06/0.6353, allocations: 0 / 0.6108 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.6353, allocations: 7.438 kB / 0.6108 GB, free: 11.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6353, allocations: 0 / 0.6108 GB, free: 11.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.6507, allocations: 2.534 MB / 0.6133 GB, free: 9.059 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.651, allocations: 206.3 kB / 0.6135 GB, free: 8.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.396, allocations: 64 / 0.6135 GB, free: 8.82 MB / 426.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