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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 101.7 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1963/0.1963, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.0002401, allocations: 8 kB / 418 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005928/0.1169, allocations: 218.9 kB / 481.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007107/0.1176, allocations: 329.8 kB / 482.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.03e-05/0.1177, allocations: 4 kB / 482.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.1177, allocations: 0 / 482.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.1177, allocations: 7.938 kB / 482.1 MB, free: 4.727 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:38:3-118:23:writable] Warning: Pure function ‘ModelicaTest.Math.BooleanFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.1182, allocations: 147.7 kB / 482.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.386e-05/0.1183, allocations: 4 kB / 482.2 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.1183, allocations: 3.938 kB / 482.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.047e-05/0.1183, allocations: 3.938 kB / 482.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.837e-05/0.1183, allocations: 0 / 482.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-06/0.1184, allocations: 0 / 482.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.1186, allocations: 147.8 kB / 482.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-06/0.1186, allocations: 0 / 482.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1186, allocations: 25.7 kB / 482.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1188, allocations: 111.8 kB / 482.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.1188, allocations: 4 kB / 482.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1188, allocations: 0 / 482.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.1188, allocations: 0 / 482.5 MB, free: 4.281 MB / 350.1 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.0002863/0.1191, allocations: 361.1 kB / 482.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1192, allocations: 15.97 kB / 482.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.1192, allocations: 30.56 kB / 482.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.1192, allocations: 0 / 482.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.1193, allocations: 163 kB / 483.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1194, allocations: 0 / 483.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1194, allocations: 8 kB / 483.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/0.1195, allocations: 33.69 kB / 483.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1195, allocations: 0 / 483.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.1195, allocations: 0 / 483.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1195, allocations: 3.984 kB / 483.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.1195, allocations: 4 kB / 483.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.1196, allocations: 145.6 kB / 483.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.1197, allocations: 18.52 kB / 483.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.1197, allocations: 4 kB / 483.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/0.1198, allocations: 68.34 kB / 483.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.1198, allocations: 0 / 483.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.1199, allocations: 59.41 kB / 483.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.12, allocations: 81.05 kB / 483.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.732e-05/0.12, allocations: 89.86 kB / 483.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1201, allocations: 25.7 kB / 483.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.1201, allocations: 84.27 kB / 483.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1201, allocations: 3.938 kB / 483.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-06/0.1201, allocations: 0 / 483.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1203, allocations: 322.8 kB / 484 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/0.1203, allocations: 3.938 kB / 484 MB, free: 2.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.1203, allocations: 0 / 484 MB, free: 2.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.1203, allocations: 29.7 kB / 484 MB, free: 2.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1203, allocations: 3.953 kB / 484 MB, free: 2.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.485e-05/0.1204, allocations: 55.5 kB / 484.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.1204, allocations: 41.69 kB / 484.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1205, allocations: 0 / 484.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1205, allocations: 0 / 484.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1205, allocations: 0 / 484.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1205, allocations: 0 / 484.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.1205, allocations: 3.938 kB / 484.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.1205, allocations: 4 kB / 484.1 MB, free: 2.387 MB / 350.1 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 8.534e-05/0.1206, allocations: 135.5 kB / 484.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-06/0.1206, allocations: 3.953 kB / 484.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-06/0.1207, allocations: 7.125 kB / 484.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1207, allocations: 4 kB / 484.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1207, allocations: 0 / 484.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1207, allocations: 0 / 484.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1208, allocations: 145.7 kB / 484.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1208, allocations: 0 / 484.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-06/0.1208, allocations: 3.953 kB / 484.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1208, allocations: 0 / 484.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1208, allocations: 4 kB / 484.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1208, allocations: 0 / 484.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.1208, allocations: 7.984 kB / 484.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1209, allocations: 90.83 kB / 484.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.121, allocations: 81.02 kB / 484.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.121, allocations: 7.953 kB / 484.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-06/0.121, allocations: 0 / 484.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.1211, allocations: 7.922 kB / 484.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1211, allocations: 4 kB / 484.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.1211, allocations: 79.31 kB / 484.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.1211, allocations: 0 / 484.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000321/0.1214, allocations: 51.94 kB / 484.8 MB, free: 1.66 MB / 350.1 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.0007797/0.1222, allocations: 0.7185 MB / 485.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.105e-05/0.1223, allocations: 55.41 kB / 485.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1223, allocations: 0 / 485.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.1223, allocations: 59.34 kB / 485.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.379e-05/0.1224, allocations: 9.984 kB / 485.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.1227, allocations: 132.3 kB / 485.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1231, allocations: 0.677 MB / 486.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.1231, allocations: 128 / 486.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.1231, allocations: 11.44 kB / 486.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1231, allocations: 4 kB / 486.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.1345, allocations: 2.166 MB / 488.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.1347, allocations: 211.3 kB / 488.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/1.886, allocations: 0 / 488.8 MB, free: 13.57 MB / 366.1 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