Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.996/1.996, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001089/0.001089, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2473/0.2473, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003458, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.6066, allocations: 84.96 MB / 0.5618 GB, free: 14.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.6069, allocations: 61.5 kB / 0.5619 GB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00584/0.6128, allocations: 2.173 MB / 0.564 GB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6128, allocations: 0 / 0.564 GB, free: 12.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.6128, allocations: 3.812 kB / 0.564 GB, free: 12.81 MB / 378.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.0003952/0.6132, allocations: 364.4 kB / 0.5643 GB, free: 12.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.6133, allocations: 12.03 kB / 0.5644 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.6133, allocations: 30.56 kB / 0.5644 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.6134, allocations: 0 / 0.5644 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.6135, allocations: 167 kB / 0.5645 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.6136, allocations: 3.938 kB / 0.5645 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.6136, allocations: 4 kB / 0.5645 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.6137, allocations: 33.64 kB / 0.5646 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.6137, allocations: 0 / 0.5646 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6137, allocations: 0 / 0.5646 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6137, allocations: 0 / 0.5646 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.446e-05/0.6138, allocations: 4 kB / 0.5646 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.6139, allocations: 152.8 kB / 0.5647 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.819e-05/0.614, allocations: 18.61 kB / 0.5647 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.614, allocations: 0 / 0.5647 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.6141, allocations: 60.27 kB / 0.5648 GB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.206e-06/0.6141, allocations: 0 / 0.5648 GB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002177/0.6143, allocations: 71.27 kB / 0.5649 GB, free: 11.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.6144, allocations: 77.11 kB / 0.5649 GB, free: 11.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.753e-05/0.6144, allocations: 85 kB / 0.565 GB, free: 11.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.6144, allocations: 25.7 kB / 0.5651 GB, free: 11.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.6145, allocations: 84.08 kB / 0.5651 GB, free: 11.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.6145, allocations: 4 kB / 0.5651 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.6145, allocations: 4.125 kB / 0.5651 GB, free: 11.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6147, allocations: 310.8 kB / 0.5654 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.6147, allocations: 0 / 0.5654 GB, free: 11.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.6147, allocations: 0 / 0.5654 GB, free: 11.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.176e-05/0.6148, allocations: 32.95 kB / 0.5655 GB, free: 11.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.6148, allocations: 3.953 kB / 0.5655 GB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.983e-05/0.6149, allocations: 67.33 kB / 0.5655 GB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.6149, allocations: 29.7 kB / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6149, allocations: 4.719 kB / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6149, allocations: 0 / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.6149, allocations: 0 / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.615, allocations: 0 / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.615, allocations: 0 / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.615, allocations: 4 kB / 0.5656 GB, free: 10.95 MB / 378.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 9.857e-05/0.6151, allocations: 141.9 kB / 0.5657 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.6151, allocations: 11.92 kB / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.6151, allocations: 7.125 kB / 0.5657 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6151, allocations: 4 kB / 0.5657 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6151, allocations: 3.938 kB / 0.5657 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6152, allocations: 0 / 0.5657 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.6153, allocations: 142.6 kB / 0.5659 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6153, allocations: 0 / 0.5659 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.6153, allocations: 3.953 kB / 0.5659 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.6153, allocations: 7.984 kB / 0.5659 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.6153, allocations: 0 / 0.5659 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.6153, allocations: 0.625 kB / 0.5659 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6153, allocations: 0 / 0.5659 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.6154, allocations: 98.7 kB / 0.566 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.6155, allocations: 81.09 kB / 0.5661 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.6155, allocations: 3.953 kB / 0.5661 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-06/0.6155, allocations: 4 kB / 0.5661 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.6155, allocations: 4 kB / 0.5661 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.6155, allocations: 0 / 0.5661 GB, free: 10.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.303e-05/0.6156, allocations: 75.28 kB / 0.5661 GB, free: 10.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6156, allocations: 0 / 0.5661 GB, free: 10.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.6159, allocations: 55.78 kB / 0.5662 GB, free: 10.21 MB / 378.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.0007279/0.6166, allocations: 0.7271 MB / 0.5669 GB, free: 9.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.6167, allocations: 59.44 kB / 0.567 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6167, allocations: 0 / 0.567 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.6168, allocations: 55.41 kB / 0.567 GB, free: 9.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.69e-05/0.6169, allocations: 3.953 kB / 0.567 GB, free: 9.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.6172, allocations: 128.2 kB / 0.5671 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.6175, allocations: 0.6794 MB / 0.5678 GB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.364e-06/0.6175, allocations: 0 / 0.5678 GB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.6175, allocations: 7.438 kB / 0.5678 GB, free: 8.449 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6175, allocations: 0 / 0.5678 GB, free: 8.449 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.6319, allocations: 2.363 MB / 0.5701 GB, free: 6.129 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.6322, allocations: 208.9 kB / 0.5703 GB, free: 5.887 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.177, allocations: 0 / 0.5703 GB, free: 5.887 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat