Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.001585/0.001585, allocations: 174.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009698/0.0009698, allocations: 88.58 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1741/0.1741, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.665e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4234/0.5746, allocations: 84.43 MB / 0.5772 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5748, allocations: 59.97 kB / 0.5773 GB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002726/0.5776, allocations: 0.9033 MB / 0.5782 GB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5776, allocations: 0 / 0.5782 GB, free: 10.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.5776, allocations: 4 kB / 0.5782 GB, free: 10.96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000273/0.5779, allocations: 341.9 kB / 0.5785 GB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.578, allocations: 11.98 kB / 0.5785 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.578, allocations: 4 kB / 0.5785 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5781, allocations: 163 kB / 0.5787 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5782, allocations: 0 / 0.5787 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.5782, allocations: 4 kB / 0.5787 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/0.5783, allocations: 54.59 kB / 0.5787 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.73e-05/0.5784, allocations: 53.62 kB / 0.5788 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.5784, allocations: 4 kB / 0.5788 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.5784, allocations: 0 / 0.5788 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5784, allocations: 4 kB / 0.5788 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.5786, allocations: 146.1 kB / 0.5789 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5787, allocations: 62.58 kB / 0.579 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.5788, allocations: 25.14 kB / 0.579 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.5791, allocations: 259.2 kB / 0.5792 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.5791, allocations: 34.56 kB / 0.5793 GB, free: 9.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5791, allocations: 2.844 kB / 0.5793 GB, free: 9.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002605/0.5794, allocations: 82.38 kB / 0.5794 GB, free: 9.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.5794, allocations: 55.34 kB / 0.5794 GB, free: 9.473 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.5795, allocations: 89 kB / 0.5795 GB, free: 9.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.5795, allocations: 25.7 kB / 0.5795 GB, free: 9.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.5796, allocations: 84.36 kB / 0.5796 GB, free: 9.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.5796, allocations: 39.39 kB / 0.5796 GB, free: 9.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.5796, allocations: 0 / 0.5796 GB, free: 9.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5797, allocations: 314.8 kB / 0.5799 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.5798, allocations: 12 kB / 0.5799 GB, free: 8.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.5798, allocations: 16 kB / 0.58 GB, free: 8.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.256e-05/0.5799, allocations: 23.97 kB / 0.58 GB, free: 8.855 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5799, allocations: 0 / 0.58 GB, free: 8.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001592/0.5801, allocations: 85.61 kB / 0.5801 GB, free: 8.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5801, allocations: 4 kB / 0.5801 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5801, allocations: 4 kB / 0.5801 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5801, allocations: 0 / 0.5801 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.5802, allocations: 19.95 kB / 0.5801 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5802, allocations: 0 / 0.5801 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.5803, allocations: 3.906 kB / 0.5801 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.5803, allocations: 4 kB / 0.5801 GB, free: 8.73 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.195e-05/0.5804, allocations: 108.9 kB / 0.5802 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000152/0.5805, allocations: 73.69 kB / 0.5803 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.5805, allocations: 7.984 kB / 0.5803 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.5808, allocations: 113.9 kB / 0.5804 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5808, allocations: 0 / 0.5804 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5808, allocations: 224 / 0.5804 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5808, allocations: 0 / 0.5804 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.5809, allocations: 150.1 kB / 0.5805 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.581, allocations: 0 / 0.5805 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.581, allocations: 19.94 kB / 0.5806 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5811, allocations: 0 / 0.5806 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.5811, allocations: 3.984 kB / 0.5806 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5811, allocations: 4 kB / 0.5806 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5811, allocations: 3.953 kB / 0.5806 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.5813, allocations: 109 kB / 0.5807 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.5813, allocations: 81.11 kB / 0.5807 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.5813, allocations: 0 / 0.5807 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.5814, allocations: 0 / 0.5807 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.5814, allocations: 11.94 kB / 0.5808 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.5814, allocations: 8 kB / 0.5808 GB, free: 7.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.878e-05/0.5814, allocations: 79.28 kB / 0.5808 GB, free: 7.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5814, allocations: 0 / 0.5808 GB, free: 7.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.5816, allocations: 19.94 kB / 0.5809 GB, free: 7.859 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0004508/0.5821, allocations: 0.6476 MB / 0.5815 GB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.5822, allocations: 52.03 kB / 0.5815 GB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5822, allocations: 480 / 0.5815 GB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.5823, allocations: 35.92 kB / 0.5816 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.605e-05/0.5824, allocations: 4.172 kB / 0.5816 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.5827, allocations: 129.3 kB / 0.5817 GB, free: 6.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.583, allocations: 0.6846 MB / 0.5824 GB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.186e-05/0.583, allocations: 12.66 kB / 0.5824 GB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.5831, allocations: 11.44 kB / 0.5824 GB, free: 6.195 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5831, allocations: 0 / 0.5824 GB, free: 6.195 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.602, allocations: 1.051 MB / 0.5834 GB, free: 5.156 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.6023, allocations: 147 kB / 0.5836 GB, free: 4.961 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.126, allocations: 7.875 kB / 0.5836 GB, free: 4.953 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat