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.00129/0.00129, allocations: 179.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.61/1.61, allocations: 221.3 MB / 236 MB, free: 2.965 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.001024/0.001024, allocations: 91.78 kB / 287 MB, free: 264 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.2021/0.2021, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.349e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 61.91 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5494, allocations: 85.09 MB / 0.5849 GB, free: 4.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5497, allocations: 63.97 kB / 0.5849 GB, free: 4.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002736/0.5525, allocations: 0.908 MB / 0.5858 GB, free: 3.125 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5525, allocations: 0 / 0.5858 GB, free: 3.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.5525, allocations: 0 / 0.5858 GB, free: 3.125 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.0002714/0.5528, allocations: 334.5 kB / 0.5862 GB, free: 2.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5528, allocations: 12.03 kB / 0.5862 GB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.5529, allocations: 30.56 kB / 0.5862 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.5529, allocations: 4 kB / 0.5862 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.553, allocations: 171 kB / 0.5864 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5531, allocations: 8 kB / 0.5864 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.5531, allocations: 3.953 kB / 0.5864 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.5532, allocations: 57.62 kB / 0.5864 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5532, allocations: 0 / 0.5864 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5533, allocations: 3.984 kB / 0.5864 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5533, allocations: 4.609 kB / 0.5864 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.5534, allocations: 55.91 kB / 0.5865 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.5535, allocations: 165.6 kB / 0.5866 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.5537, allocations: 74.56 kB / 0.5867 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.5537, allocations: 28.86 kB / 0.5867 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/0.5541, allocations: 259.3 kB / 0.587 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.5541, allocations: 46.67 kB / 0.587 GB, free: 1.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.5541, allocations: 2.953 kB / 0.587 GB, free: 1.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001998/0.5543, allocations: 73.69 kB / 0.5871 GB, free: 1.594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.5544, allocations: 55.41 kB / 0.5872 GB, free: 1.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.5544, allocations: 89 kB / 0.5872 GB, free: 1.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.5545, allocations: 29.64 kB / 0.5873 GB, free: 1.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.5545, allocations: 80.14 kB / 0.5874 GB, free: 1.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.5546, allocations: 35.45 kB / 0.5874 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.5546, allocations: 4 kB / 0.5874 GB, free: 1.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5547, allocations: 311 kB / 0.5877 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.5547, allocations: 20 kB / 0.5877 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.5548, allocations: 16 kB / 0.5877 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.5548, allocations: 24.2 kB / 0.5877 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5548, allocations: 0 / 0.5877 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001194/0.555, allocations: 77.62 kB / 0.5878 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.555, allocations: 7.953 kB / 0.5878 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.555, allocations: 0 / 0.5878 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.555, allocations: 4 kB / 0.5878 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/0.5551, allocations: 19.98 kB / 0.5879 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5551, allocations: 0 / 0.5879 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.5552, allocations: 7.906 kB / 0.5879 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.5552, allocations: 4 kB / 0.5879 GB, free: 0.7812 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 6.673e-05/0.5553, allocations: 108.9 kB / 0.588 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.5553, allocations: 4 kB / 0.588 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.5555, allocations: 97.64 kB / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5555, allocations: 4 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5555, allocations: 0 / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5555, allocations: 0 / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.5556, allocations: 177.3 kB / 0.5882 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5556, allocations: 4 kB / 0.5882 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.5557, allocations: 19.98 kB / 0.5883 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5557, allocations: 0 / 0.5883 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5557, allocations: 0 / 0.5883 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.5557, allocations: 3.953 kB / 0.5883 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5557, allocations: 4 kB / 0.5883 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.5559, allocations: 109.2 kB / 0.5884 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.5559, allocations: 89.02 kB / 0.5885 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.556, allocations: 0 / 0.5885 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.556, allocations: 0 / 0.5885 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.556, allocations: 12.75 kB / 0.5885 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.556, allocations: 8 kB / 0.5885 GB, free: 52 kB / 394.7 MB Notification: Performance of sorting global known variables: time 5.11e-05/0.5561, allocations: 75.28 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5561, allocations: 0 / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.5563, allocations: 19.94 kB / 0.5886 GB, free: 15.96 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 (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.0004702/0.5568, allocations: 0.6593 MB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.5569, allocations: 44 kB / 0.5893 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5569, allocations: 3.938 kB / 0.5893 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.557, allocations: 31.98 kB / 0.5893 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.5571, allocations: 6.953 kB / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.5575, allocations: 139 kB / 0.5894 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.5578, allocations: 0.6887 MB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.225e-05/0.5578, allocations: 11.78 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.5579, allocations: 19.42 kB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.5579, allocations: 0.7812 kB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.57, allocations: 1.355 MB / 0.5915 GB, free: 13.02 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.5703, allocations: 158.6 kB / 0.5916 GB, free: 12.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.139, allocations: 0 / 0.5916 GB, free: 12.8 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