Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008596/0.0008595, allocations: 103.5 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2059/0.2059, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.569e-05, allocations: 8 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 61.9 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4083/0.5391, allocations: 86.37 MB / 0.5861 GB, free: 2.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.5394, allocations: 67.97 kB / 0.5862 GB, free: 2.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02773/0.5672, allocations: 8.305 MB / 0.5943 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5672, allocations: 0 / 0.5943 GB, free: 10.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.5672, allocations: 4 kB / 0.5943 GB, free: 10.55 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.0004315/0.5677, allocations: 350.4 kB / 0.5946 GB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.5677, allocations: 12.03 kB / 0.5947 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.5678, allocations: 30.56 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.5678, allocations: 3.938 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.568, allocations: 159.1 kB / 0.5948 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.568, allocations: 0 / 0.5948 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.568, allocations: 7.953 kB / 0.5948 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.5681, allocations: 37.64 kB / 0.5949 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5682, allocations: 0 / 0.5949 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5682, allocations: 0 / 0.5949 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5682, allocations: 7.984 kB / 0.5949 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.5682, allocations: 0 / 0.5949 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.5684, allocations: 145.7 kB / 0.595 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.5685, allocations: 22.61 kB / 0.595 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.5685, allocations: 4.859 kB / 0.5951 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.5685, allocations: 3.953 kB / 0.5951 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5686, allocations: 42.48 kB / 0.5951 GB, free: 9.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.904e-06/0.5686, allocations: 4.062 kB / 0.5951 GB, free: 9.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000137/0.5687, allocations: 29.7 kB / 0.5951 GB, free: 9.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.5687, allocations: 51.41 kB / 0.5952 GB, free: 9.469 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.5688, allocations: 93 kB / 0.5953 GB, free: 9.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.5688, allocations: 25.7 kB / 0.5953 GB, free: 9.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.5689, allocations: 80.14 kB / 0.5954 GB, free: 9.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.5689, allocations: 0 / 0.5954 GB, free: 9.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.5689, allocations: 4.156 kB / 0.5954 GB, free: 9.254 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.569, allocations: 310.8 kB / 0.5957 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.5691, allocations: 4 kB / 0.5957 GB, free: 8.938 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.5691, allocations: 7.922 kB / 0.5957 GB, free: 8.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.959e-05/0.5691, allocations: 4 kB / 0.5957 GB, free: 8.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5691, allocations: 3.938 kB / 0.5957 GB, free: 8.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.425e-05/0.5692, allocations: 41.61 kB / 0.5957 GB, free: 8.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5692, allocations: 9.047 kB / 0.5957 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5692, allocations: 4.094 kB / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.5692, allocations: 0 / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.5693, allocations: 0 / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5693, allocations: 0 / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.5693, allocations: 4 kB / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.5693, allocations: 0.7031 kB / 0.5957 GB, free: 8.859 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 7.684e-05/0.5694, allocations: 101 kB / 0.5958 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.5694, allocations: 7.969 kB / 0.5958 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.5695, allocations: 56.67 kB / 0.5959 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.5696, allocations: 4 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5696, allocations: 0 / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.5696, allocations: 0 / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.5697, allocations: 149.7 kB / 0.596 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.5697, allocations: 7.938 kB / 0.5961 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.5697, allocations: 0 / 0.5961 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5697, allocations: 0 / 0.5961 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.5697, allocations: 0 / 0.5961 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5697, allocations: 7.984 kB / 0.5961 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5697, allocations: 0 / 0.5961 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.045e-05/0.5698, allocations: 61.12 kB / 0.5961 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.5699, allocations: 77.11 kB / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5699, allocations: 4 kB / 0.5962 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.5699, allocations: 3.984 kB / 0.5962 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.57, allocations: 7.891 kB / 0.5962 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.57, allocations: 8.031 kB / 0.5962 GB, free: 8.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.283e-05/0.57, allocations: 75.28 kB / 0.5963 GB, free: 8.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.57, allocations: 0 / 0.5963 GB, free: 8.195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.5703, allocations: 43.94 kB / 0.5963 GB, free: 8.152 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.0006082/0.571, allocations: 0.6438 MB / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.5711, allocations: 37.62 kB / 0.597 GB, free: 7.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5711, allocations: 7.938 kB / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.055e-05/0.5711, allocations: 25.7 kB / 0.597 GB, free: 7.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.5712, allocations: 9.844 kB / 0.597 GB, free: 7.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.5716, allocations: 103.1 kB / 0.5971 GB, free: 7.254 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.5719, allocations: 0.6731 MB / 0.5978 GB, free: 6.555 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.5719, allocations: 4.125 kB / 0.5978 GB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.5719, allocations: 11.44 kB / 0.5978 GB, free: 6.539 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5719, allocations: 0 / 0.5978 GB, free: 6.539 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.5845, allocations: 1.43 MB / 0.5992 GB, free: 5.223 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.5848, allocations: 158.2 kB / 0.5994 GB, free: 4.996 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.202, allocations: 0 / 0.5994 GB, free: 4.996 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat