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.001493/0.001493, allocations: 183 kB / 13.19 MB, free: 2.129 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.877/1.877, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000926/0.0009259, allocations: 82.61 kB / 267 MB, free: 9.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5089/0.5089, allocations: 43.46 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.443e-05/4.453e-05, allocations: 4 kB / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1707, allocations: 58.84 MB / 484.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.6493, allocations: 84.88 MB / 0.5558 GB, free: 4.078 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.6497, allocations: 65.81 kB / 0.5558 GB, free: 4.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006039/0.6557, allocations: 2.157 MB / 0.5579 GB, free: 1.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.6557, allocations: 0 / 0.5579 GB, free: 1.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.6558, allocations: 0 / 0.5579 GB, free: 1.871 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.0004949/0.6563, allocations: 366.2 kB / 0.5583 GB, free: 1.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.537e-05/0.6564, allocations: 13.92 kB / 0.5583 GB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.6564, allocations: 30.56 kB / 0.5583 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.6565, allocations: 3.438 kB / 0.5583 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.6566, allocations: 163 kB / 0.5585 GB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.6567, allocations: 4.547 kB / 0.5585 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6567, allocations: 4 kB / 0.5585 GB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.6568, allocations: 31.31 kB / 0.5585 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.6568, allocations: 4 kB / 0.5585 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.6569, allocations: 1.375 kB / 0.5585 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6569, allocations: 3.281 kB / 0.5585 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.6569, allocations: 0 / 0.5585 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.6571, allocations: 153.6 kB / 0.5587 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.301e-05/0.6572, allocations: 26.55 kB / 0.5587 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.6572, allocations: 4.859 kB / 0.5587 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.6572, allocations: 0 / 0.5587 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.599e-05/0.6573, allocations: 60.33 kB / 0.5588 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 4.308e-06/0.6573, allocations: 3.984 kB / 0.5588 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002471/0.6576, allocations: 63.39 kB / 0.5588 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.6577, allocations: 81.11 kB / 0.5589 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/0.6577, allocations: 85 kB / 0.559 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.6578, allocations: 31.05 kB / 0.559 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.6578, allocations: 80.14 kB / 0.5591 GB, free: 480 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.6579, allocations: 0.7812 kB / 0.5591 GB, free: 480 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.6579, allocations: 0 / 0.5591 GB, free: 480 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.658, allocations: 313.5 kB / 0.5594 GB, free: 160 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.6581, allocations: 7.938 kB / 0.5594 GB, free: 152 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.6581, allocations: 0 / 0.5594 GB, free: 152 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.6581, allocations: 29.66 kB / 0.5594 GB, free: 116 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6581, allocations: 4.062 kB / 0.5594 GB, free: 112 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.658e-05/0.6582, allocations: 67.39 kB / 0.5595 GB, free: 32 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.6583, allocations: 29.75 kB / 0.5595 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6584, allocations: 4 kB / 0.5595 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6584, allocations: 0 / 0.5595 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.6584, allocations: 0 / 0.5595 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.6584, allocations: 0.6562 kB / 0.5595 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.6584, allocations: 0 / 0.5595 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.6584, allocations: 0 / 0.5595 GB, free: 15.99 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 0.0001654/0.6586, allocations: 139.9 kB / 0.5597 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.6586, allocations: 3.938 kB / 0.5597 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.6587, allocations: 7.625 kB / 0.5597 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.6587, allocations: 0 / 0.5597 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.6587, allocations: 3.938 kB / 0.5597 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6587, allocations: 3.938 kB / 0.5597 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.6589, allocations: 145.7 kB / 0.5598 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.6589, allocations: 7.391 kB / 0.5598 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-06/0.6589, allocations: 3.984 kB / 0.5598 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.6589, allocations: 0 / 0.5598 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.659, allocations: 4 kB / 0.5598 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.659, allocations: 0 / 0.5598 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.659, allocations: 4 kB / 0.5598 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.6591, allocations: 82.84 kB / 0.5599 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6593, allocations: 86.77 kB / 0.56 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.6593, allocations: 4 kB / 0.56 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/0.6593, allocations: 0 / 0.56 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.6594, allocations: 4.031 kB / 0.56 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.6594, allocations: 0 / 0.56 GB, free: 15.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.6595, allocations: 79.28 kB / 0.5601 GB, free: 15.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6595, allocations: 0 / 0.5601 GB, free: 15.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00032/0.6598, allocations: 52 kB / 0.5601 GB, free: 15.28 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.001134/0.6609, allocations: 0.7277 MB / 0.5609 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.6611, allocations: 59.41 kB / 0.5609 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6611, allocations: 0 / 0.5609 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.6612, allocations: 59.34 kB / 0.561 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.6613, allocations: 0 / 0.561 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.6617, allocations: 98.64 kB / 0.5611 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.6623, allocations: 0.6756 MB / 0.5617 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.866e-06/0.6623, allocations: 4 kB / 0.5617 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.6623, allocations: 11.44 kB / 0.5617 GB, free: 13.54 MB / 394.7 MB Notification: Performance of SimCode: time 6.32e-07/0.6623, allocations: 0 / 0.5617 GB, free: 13.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.6785, allocations: 2.372 MB / 0.564 GB, free: 11.25 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.6788, allocations: 183.9 kB / 0.5642 GB, free: 11.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.283, allocations: 0 / 0.5642 GB, free: 11.03 MB / 394.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