Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.001545/0.001544, allocations: 185.7 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001162/0.001162, allocations: 104.3 kB / 270.9 MB, free: 8.387 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.5245/0.5245, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004629, allocations: 12 kB / 431.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 58.85 MB / 490.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.5821, allocations: 85.36 MB / 0.5622 GB, free: 1.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5824, allocations: 67.97 kB / 0.5622 GB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04471/0.6272, allocations: 8.231 MB / 0.5703 GB, free: 8.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6272, allocations: 0 / 0.5703 GB, free: 8.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.6272, allocations: 0 / 0.5703 GB, free: 8.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004221/0.6276, allocations: 352.1 kB / 0.5706 GB, free: 8.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6277, allocations: 12.03 kB / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.6278, allocations: 34.56 kB / 0.5707 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.6278, allocations: 3.438 kB / 0.5707 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6279, allocations: 163 kB / 0.5708 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.628, allocations: 0 / 0.5708 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.628, allocations: 0 / 0.5708 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.6281, allocations: 45.62 kB / 0.5709 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6281, allocations: 0 / 0.5709 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.6282, allocations: 0 / 0.5709 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6282, allocations: 0 / 0.5709 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.6282, allocations: 9.031 kB / 0.5709 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.6286, allocations: 245.9 kB / 0.5711 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.6287, allocations: 26.5 kB / 0.5711 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.6287, allocations: 3.984 kB / 0.5711 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.6288, allocations: 30.56 kB / 0.5712 GB, free: 7.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.6288, allocations: 0.5625 kB / 0.5712 GB, free: 7.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000154/0.6289, allocations: 43.78 kB / 0.5712 GB, free: 7.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.629, allocations: 51.41 kB / 0.5713 GB, free: 7.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.6291, allocations: 96.95 kB / 0.5713 GB, free: 7.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6291, allocations: 25.7 kB / 0.5714 GB, free: 7.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.6292, allocations: 154.5 kB / 0.5715 GB, free: 7.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.6292, allocations: 3.469 kB / 0.5715 GB, free: 7.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.6292, allocations: 0 / 0.5715 GB, free: 7.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6294, allocations: 323.1 kB / 0.5718 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.6294, allocations: 7.938 kB / 0.5718 GB, free: 7.184 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.6295, allocations: 22.52 kB / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.6295, allocations: 4 kB / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6295, allocations: 0 / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001088/0.6296, allocations: 53.53 kB / 0.5719 GB, free: 7.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6297, allocations: 8.094 kB / 0.5719 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6297, allocations: 4 kB / 0.5719 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6297, allocations: 0 / 0.5719 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.6298, allocations: 4 kB / 0.5719 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6298, allocations: 0 / 0.5719 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.6298, allocations: 4 kB / 0.5719 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.6298, allocations: 4.656 kB / 0.5719 GB, free: 7.066 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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 9.032e-05/0.6299, allocations: 113.8 kB / 0.572 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.63, allocations: 7.984 kB / 0.5721 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.6301, allocations: 44.77 kB / 0.5721 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.6301, allocations: 0 / 0.5721 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6301, allocations: 0 / 0.5721 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6302, allocations: 0 / 0.5721 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.6303, allocations: 157.6 kB / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6304, allocations: 4 kB / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.6304, allocations: 0 / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6304, allocations: 0 / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.6304, allocations: 4.031 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6304, allocations: 0 / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6304, allocations: 0 / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.6306, allocations: 139.4 kB / 0.5724 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.6306, allocations: 77.11 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.6306, allocations: 4 kB / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.6307, allocations: 0 / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.6307, allocations: 32 / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.6308, allocations: 4 kB / 0.5725 GB, free: 6.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.6308, allocations: 83.27 kB / 0.5725 GB, free: 6.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6308, allocations: 0 / 0.5725 GB, free: 6.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000415/0.6312, allocations: 47.94 kB / 0.5726 GB, free: 6.297 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: 0 () * Number of discrete states: 0 () * 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: 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.0007308/0.632, allocations: 0.7171 MB / 0.5733 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.6321, allocations: 41.62 kB / 0.5733 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6321, allocations: 0 / 0.5733 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.6322, allocations: 29.7 kB / 0.5734 GB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.6323, allocations: 7.875 kB / 0.5734 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.6328, allocations: 156.3 kB / 0.5735 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.6332, allocations: 0.6773 MB / 0.5742 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.6332, allocations: 15.44 kB / 0.5742 GB, free: 4.551 MB / 394.7 MB Notification: Performance of SimCode: time 3.416e-06/0.6332, allocations: 0 / 0.5742 GB, free: 4.551 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.47/3.103, allocations: 1.15 MB / 0.5753 GB, free: 3.41 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat