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.0009914/0.0009915, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008972/0.0008972, allocations: 94.39 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.071e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 63.25 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.5233, allocations: 87.2 MB / 0.5966 GB, free: 6.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.5236, allocations: 66.61 kB / 0.5967 GB, free: 6.613 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00637/0.5299, allocations: 2.439 MB / 0.5991 GB, free: 4.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.53, allocations: 0 / 0.5991 GB, free: 4.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.53, allocations: 0 / 0.5991 GB, free: 4.488 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.0003432/0.5303, allocations: 372.3 kB / 0.5994 GB, free: 4.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5304, allocations: 11.97 kB / 0.5994 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.5304, allocations: 30.56 kB / 0.5995 GB, free: 4.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.5305, allocations: 4.875 kB / 0.5995 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.154e-05/0.5306, allocations: 163 kB / 0.5996 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.5306, allocations: 3.938 kB / 0.5996 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.5306, allocations: 4 kB / 0.5996 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.25e-05/0.5307, allocations: 30.94 kB / 0.5996 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.5307, allocations: 0 / 0.5996 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-06/0.5307, allocations: 0 / 0.5996 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5307, allocations: 4 kB / 0.5997 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.5307, allocations: 0 / 0.5997 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.5309, allocations: 151 kB / 0.5998 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.759e-05/0.5309, allocations: 23.8 kB / 0.5998 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.5309, allocations: 4.859 kB / 0.5998 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.5309, allocations: 0 / 0.5998 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.531, allocations: 61 kB / 0.5999 GB, free: 3.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.531, allocations: 4.062 kB / 0.5999 GB, free: 3.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000148/0.5312, allocations: 60.91 kB / 0.5999 GB, free: 3.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.5312, allocations: 77.86 kB / 0.6 GB, free: 3.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.698e-05/0.5312, allocations: 85 kB / 0.6001 GB, free: 3.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.5313, allocations: 29.7 kB / 0.6001 GB, free: 3.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.5313, allocations: 80.83 kB / 0.6002 GB, free: 3.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.5313, allocations: 0 / 0.6002 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.5313, allocations: 0 / 0.6002 GB, free: 3.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.5314, allocations: 315.6 kB / 0.6005 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-06/0.5314, allocations: 4.688 kB / 0.6005 GB, free: 2.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.5315, allocations: 11.97 kB / 0.6005 GB, free: 2.762 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.5315, allocations: 29.66 kB / 0.6005 GB, free: 2.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5315, allocations: 3.938 kB / 0.6006 GB, free: 2.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.787e-05/0.5316, allocations: 60.97 kB / 0.6006 GB, free: 2.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.5316, allocations: 29.7 kB / 0.6006 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5316, allocations: 0 / 0.6006 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5316, allocations: 3.984 kB / 0.6006 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.5316, allocations: 4 kB / 0.6006 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.5316, allocations: 0 / 0.6006 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.5317, allocations: 4.094 kB / 0.6007 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.5317, allocations: 0.6875 kB / 0.6007 GB, free: 2.605 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.42e-05/0.5318, allocations: 135.5 kB / 0.6008 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-06/0.5318, allocations: 0 / 0.6008 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.5318, allocations: 7.078 kB / 0.6008 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.5318, allocations: 0 / 0.6008 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5318, allocations: 0 / 0.6008 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.5318, allocations: 0 / 0.6008 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.734e-05/0.5319, allocations: 151.4 kB / 0.6009 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5319, allocations: 7.953 kB / 0.6009 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-06/0.5319, allocations: 4.562 kB / 0.6009 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.5319, allocations: 0 / 0.6009 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.5319, allocations: 0 / 0.6009 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.5319, allocations: 0 / 0.6009 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5319, allocations: 4 kB / 0.6009 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.639e-05/0.532, allocations: 94.12 kB / 0.601 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.5321, allocations: 81.06 kB / 0.6011 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.5321, allocations: 8.031 kB / 0.6011 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.5321, allocations: 0.8125 kB / 0.6011 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.5321, allocations: 0 / 0.6011 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.5321, allocations: 0 / 0.6011 GB, free: 2.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.384e-05/0.5322, allocations: 75.28 kB / 0.6012 GB, free: 1.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5322, allocations: 0 / 0.6012 GB, free: 1.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.5324, allocations: 67.53 kB / 0.6013 GB, free: 1.887 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.0006319/0.5331, allocations: 0.7262 MB / 0.602 GB, free: 1.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.327e-05/0.5332, allocations: 64.39 kB / 0.602 GB, free: 1.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5332, allocations: 0 / 0.602 GB, free: 1.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.5332, allocations: 59.91 kB / 0.6021 GB, free: 1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.449e-05/0.5333, allocations: 7.828 kB / 0.6021 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.5336, allocations: 104.1 kB / 0.6022 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.5338, allocations: 0.6716 MB / 0.6029 GB, free: 168 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.63e-06/0.5338, allocations: 0 / 0.6029 GB, free: 168 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.5339, allocations: 11.44 kB / 0.6029 GB, free: 156 kB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5339, allocations: 0 / 0.6029 GB, free: 156 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.5466, allocations: 2.538 MB / 0.6053 GB, free: 13.72 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.5469, allocations: 182 kB / 0.6055 GB, free: 13.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.008, allocations: 3.938 kB / 0.6055 GB, free: 13.49 MB / 410.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