Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, 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.259/1.259, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008627/0.0008627, allocations: 93.7 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1796/0.1796, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.152e-05, allocations: 11.98 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.0843, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3188/0.4032, allocations: 87.42 MB / 0.5968 GB, free: 6.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.4034, allocations: 68.34 kB / 0.5969 GB, free: 6.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02443/0.4278, allocations: 8.377 MB / 0.6051 GB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4278, allocations: 4 kB / 0.6051 GB, free: 15.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.4279, allocations: 0 / 0.6051 GB, free: 15.14 MB / 410.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.0002691/0.4281, allocations: 346.1 kB / 0.6054 GB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4282, allocations: 11.97 kB / 0.6054 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.4282, allocations: 30.56 kB / 0.6055 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.4282, allocations: 0 / 0.6055 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/0.4283, allocations: 171 kB / 0.6056 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.4284, allocations: 0 / 0.6056 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.4284, allocations: 0 / 0.6056 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.08e-05/0.4284, allocations: 33.69 kB / 0.6056 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.4285, allocations: 0 / 0.6056 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.4285, allocations: 0 / 0.6056 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4285, allocations: 0 / 0.6056 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.4285, allocations: 7.938 kB / 0.6057 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.4286, allocations: 153.4 kB / 0.6058 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.921e-05/0.4287, allocations: 18.61 kB / 0.6058 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.4287, allocations: 8.844 kB / 0.6058 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4287, allocations: 4.062 kB / 0.6058 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4287, allocations: 30.56 kB / 0.6059 GB, free: 14.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4287, allocations: 0 / 0.6059 GB, free: 14.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.985e-05/0.4288, allocations: 37.08 kB / 0.6059 GB, free: 14.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.4289, allocations: 59.44 kB / 0.606 GB, free: 14.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.4289, allocations: 85 kB / 0.606 GB, free: 13.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4289, allocations: 29.64 kB / 0.6061 GB, free: 13.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.429, allocations: 80.14 kB / 0.6061 GB, free: 13.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.429, allocations: 8.5 kB / 0.6061 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.429, allocations: 0 / 0.6061 GB, free: 13.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.4291, allocations: 322.7 kB / 0.6065 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.4291, allocations: 128 / 0.6065 GB, free: 13.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.4291, allocations: 8 kB / 0.6065 GB, free: 13.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.097e-05/0.4292, allocations: 0 / 0.6065 GB, free: 13.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4292, allocations: 0 / 0.6065 GB, free: 13.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.298e-05/0.4292, allocations: 41.55 kB / 0.6065 GB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.4292, allocations: 4 kB / 0.6065 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4293, allocations: 4 kB / 0.6065 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4293, allocations: 0 / 0.6065 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.4293, allocations: 0 / 0.6065 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4293, allocations: 3.984 kB / 0.6065 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.4293, allocations: 4.094 kB / 0.6065 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.4293, allocations: 0 / 0.6065 GB, free: 13.47 MB / 410.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: 0 () * 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: 0 * Record equations: 1 * 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 5.751e-05/0.4294, allocations: 108.9 kB / 0.6066 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.4294, allocations: 0 / 0.6066 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/0.4295, allocations: 44.53 kB / 0.6067 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4295, allocations: 3.984 kB / 0.6067 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4295, allocations: 4.031 kB / 0.6067 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4295, allocations: 0 / 0.6067 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/0.4296, allocations: 157.3 kB / 0.6068 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4296, allocations: 0 / 0.6068 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-06/0.4296, allocations: 0 / 0.6068 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.4296, allocations: 11.91 kB / 0.6068 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.4296, allocations: 0 / 0.6068 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4297, allocations: 0 / 0.6068 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4297, allocations: 4 kB / 0.6068 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.003e-05/0.4297, allocations: 57.14 kB / 0.6069 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.4298, allocations: 84.56 kB / 0.607 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.4298, allocations: 3.984 kB / 0.607 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.4298, allocations: 4 kB / 0.607 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.4298, allocations: 0 / 0.607 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.4299, allocations: 0 / 0.607 GB, free: 12.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.4299, allocations: 83.22 kB / 0.6071 GB, free: 12.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4299, allocations: 0 / 0.6071 GB, free: 12.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.4301, allocations: 52.06 kB / 0.6071 GB, free: 12.77 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004708/0.4306, allocations: 0.6481 MB / 0.6077 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.782e-05/0.4307, allocations: 33.7 kB / 0.6078 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4307, allocations: 0 / 0.6078 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.4307, allocations: 29.8 kB / 0.6078 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.38e-05/0.4308, allocations: 4 kB / 0.6078 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.4311, allocations: 110.3 kB / 0.6079 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.4314, allocations: 0.6809 MB / 0.6086 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.061e-05/0.4314, allocations: 0 / 0.6086 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.4314, allocations: 7.438 kB / 0.6086 GB, free: 11.17 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4314, allocations: 0 / 0.6086 GB, free: 11.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.4421, allocations: 1.418 MB / 0.61 GB, free: 9.879 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.4423, allocations: 161.1 kB / 0.6101 GB, free: 9.652 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.296/1.738, allocations: 0 / 0.6101 GB, free: 9.652 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat