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.001412/0.001412, allocations: 177 kB / 17.06 MB, free: 5.094 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.42/1.42, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001039, allocations: 95.05 kB / 292.1 MB, free: 10.95 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.4021/0.4021, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 8 kB / 460 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4106, allocations: 61.9 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.536, allocations: 85.17 MB / 0.5928 GB, free: 9.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.5363, allocations: 71.92 kB / 0.5929 GB, free: 9.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002932/0.5393, allocations: 0.9077 MB / 0.5938 GB, free: 8.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.5393, allocations: 0 / 0.5938 GB, free: 8.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.5394, allocations: 0 / 0.5938 GB, free: 8.992 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003437/0.5397, allocations: 339.3 kB / 0.5941 GB, free: 8.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.5398, allocations: 12.03 kB / 0.5941 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.5398, allocations: 34.5 kB / 0.5941 GB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.5399, allocations: 4 kB / 0.5941 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.54, allocations: 167 kB / 0.5943 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.54, allocations: 4 kB / 0.5943 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.5401, allocations: 11.94 kB / 0.5943 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.5402, allocations: 49.69 kB / 0.5944 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5402, allocations: 3.938 kB / 0.5944 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.5402, allocations: 11.98 kB / 0.5944 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5403, allocations: 0 / 0.5944 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.63e-05/0.5404, allocations: 51.94 kB / 0.5944 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.5406, allocations: 165.6 kB / 0.5946 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.5407, allocations: 74.56 kB / 0.5947 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.5411, allocations: 251.6 kB / 0.5949 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.5411, allocations: 42.45 kB / 0.5949 GB, free: 7.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.5411, allocations: 0 / 0.5949 GB, free: 7.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002736/0.5414, allocations: 105.5 kB / 0.595 GB, free: 7.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.5415, allocations: 51.41 kB / 0.5951 GB, free: 7.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.5415, allocations: 93 kB / 0.5952 GB, free: 7.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.5416, allocations: 25.7 kB / 0.5952 GB, free: 7.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.5416, allocations: 80.14 kB / 0.5953 GB, free: 7.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.5416, allocations: 35.45 kB / 0.5953 GB, free: 7.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5417, allocations: 4.219 kB / 0.5953 GB, free: 7.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5418, allocations: 310.8 kB / 0.5956 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.37e-05/0.5418, allocations: 23.92 kB / 0.5956 GB, free: 6.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.5419, allocations: 12 kB / 0.5956 GB, free: 6.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.5419, allocations: 28.11 kB / 0.5957 GB, free: 6.773 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5419, allocations: 0 / 0.5957 GB, free: 6.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001357/0.5421, allocations: 85.62 kB / 0.5958 GB, free: 6.684 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5421, allocations: 5.406 kB / 0.5958 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5421, allocations: 3.953 kB / 0.5958 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5422, allocations: 0 / 0.5958 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.5423, allocations: 19.94 kB / 0.5958 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5423, allocations: 0 / 0.5958 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.5423, allocations: 4.641 kB / 0.5958 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5423, allocations: 4 kB / 0.5958 GB, free: 6.648 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 () * Number of clocked 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 0.0001129/0.5425, allocations: 114.4 kB / 0.5959 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.5425, allocations: 7.906 kB / 0.5959 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.5427, allocations: 105.5 kB / 0.596 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5427, allocations: 3.953 kB / 0.596 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5427, allocations: 0 / 0.596 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5427, allocations: 0 / 0.596 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.5429, allocations: 177.5 kB / 0.5962 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5429, allocations: 0 / 0.5962 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.543, allocations: 12 kB / 0.5962 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.543, allocations: 8 kB / 0.5962 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.543, allocations: 0 / 0.5962 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.543, allocations: 3.984 kB / 0.5962 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.543, allocations: 3.953 kB / 0.5962 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.5432, allocations: 109.1 kB / 0.5963 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.5432, allocations: 77.11 kB / 0.5964 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.5433, allocations: 0 / 0.5964 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.908e-05/0.5433, allocations: 4 kB / 0.5964 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.5433, allocations: 15.88 kB / 0.5964 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.5433, allocations: 12 kB / 0.5964 GB, free: 5.906 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.5434, allocations: 75.28 kB / 0.5965 GB, free: 5.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5434, allocations: 0 / 0.5965 GB, free: 5.832 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.5436, allocations: 19.94 kB / 0.5965 GB, free: 5.812 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 () * Number of clocked 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.0005059/0.5441, allocations: 0.6631 MB / 0.5971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.5443, allocations: 56.14 kB / 0.5972 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5443, allocations: 0 / 0.5972 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/0.5443, allocations: 31.98 kB / 0.5972 GB, free: 5.035 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.5445, allocations: 2.406 kB / 0.5972 GB, free: 5.035 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.5449, allocations: 196.2 kB / 0.5974 GB, free: 4.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.5452, allocations: 0.6848 MB / 0.5981 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.5453, allocations: 4 kB / 0.5981 GB, free: 4.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.5453, allocations: 11.44 kB / 0.5981 GB, free: 4.074 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5453, allocations: 0 / 0.5981 GB, free: 4.074 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.5602, allocations: 1.333 MB / 0.5994 GB, free: 2.875 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.5605, allocations: 189 kB / 0.5996 GB, free: 2.629 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.267, allocations: 4.062 kB / 0.5996 GB, free: 2.625 MB / 410.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