Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.00191, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009541/0.0009542, allocations: 101.2 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1985/0.1985, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.74e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09846, allocations: 63.24 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4669, allocations: 85.47 MB / 0.5879 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001587/0.4671, allocations: 69.05 kB / 0.588 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00224/0.4693, allocations: 0.8994 MB / 0.5889 GB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4693, allocations: 0 / 0.5889 GB, free: 15.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.4693, allocations: 3.938 kB / 0.5889 GB, free: 15.9 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.0002362/0.4696, allocations: 337.5 kB / 0.5892 GB, free: 15.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4696, allocations: 8.031 kB / 0.5892 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.4697, allocations: 6.438 kB / 0.5892 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.4698, allocations: 167 kB / 0.5894 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4698, allocations: 0 / 0.5894 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4698, allocations: 4 kB / 0.5894 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.4699, allocations: 55.64 kB / 0.5894 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/0.47, allocations: 53.56 kB / 0.5895 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.47, allocations: 0 / 0.5895 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.4701, allocations: 0 / 0.5895 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4701, allocations: 4 kB / 0.5895 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.4702, allocations: 152.5 kB / 0.5896 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.843e-05/0.4703, allocations: 66.06 kB / 0.5897 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.4704, allocations: 20.8 kB / 0.5897 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.4707, allocations: 255.3 kB / 0.5899 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4707, allocations: 38.5 kB / 0.59 GB, free: 14.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.4707, allocations: 0 / 0.59 GB, free: 14.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002175/0.4709, allocations: 77.3 kB / 0.5901 GB, free: 14.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.471, allocations: 51.41 kB / 0.5901 GB, free: 14.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.4711, allocations: 92.94 kB / 0.5902 GB, free: 14.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.4711, allocations: 29.83 kB / 0.5902 GB, free: 14.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.4711, allocations: 80.14 kB / 0.5903 GB, free: 14.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.4711, allocations: 35.39 kB / 0.5903 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.4712, allocations: 0 / 0.5903 GB, free: 14.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.4713, allocations: 310.8 kB / 0.5906 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.4713, allocations: 15.81 kB / 0.5906 GB, free: 13.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.4713, allocations: 19.8 kB / 0.5907 GB, free: 13.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.862e-05/0.4714, allocations: 20.14 kB / 0.5907 GB, free: 13.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4714, allocations: 0 / 0.5907 GB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001583/0.4716, allocations: 96.69 kB / 0.5908 GB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4716, allocations: 4 kB / 0.5908 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4716, allocations: 0 / 0.5908 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4716, allocations: 0 / 0.5908 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.4717, allocations: 16 kB / 0.5908 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4718, allocations: 4.859 kB / 0.5908 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.523e-05/0.4718, allocations: 3.906 kB / 0.5908 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.4718, allocations: 4.219 kB / 0.5908 GB, free: 13.76 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.717e-05/0.4719, allocations: 104.9 kB / 0.5909 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001493/0.472, allocations: 88.81 kB / 0.591 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.4721, allocations: 4 kB / 0.591 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.4723, allocations: 105.3 kB / 0.5911 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4723, allocations: 3.984 kB / 0.5911 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4723, allocations: 0 / 0.5911 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4723, allocations: 0 / 0.5911 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.4724, allocations: 145.8 kB / 0.5912 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4724, allocations: 3.953 kB / 0.5912 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.571e-05/0.4725, allocations: 23.92 kB / 0.5913 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4725, allocations: 4 kB / 0.5913 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4725, allocations: 0 / 0.5913 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4725, allocations: 0 / 0.5913 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4725, allocations: 0 / 0.5913 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.4727, allocations: 112.4 kB / 0.5914 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.4728, allocations: 88.97 kB / 0.5915 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.4728, allocations: 0 / 0.5915 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.4728, allocations: 0 / 0.5915 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.4728, allocations: 7.984 kB / 0.5915 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.4728, allocations: 8 kB / 0.5915 GB, free: 13.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.4729, allocations: 75.28 kB / 0.5915 GB, free: 12.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4729, allocations: 0 / 0.5915 GB, free: 12.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.4731, allocations: 23.62 kB / 0.5916 GB, free: 12.93 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.0004567/0.4736, allocations: 0.654 MB / 0.5922 GB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.4737, allocations: 47.42 kB / 0.5923 GB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4737, allocations: 0 / 0.5923 GB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.4737, allocations: 27.62 kB / 0.5923 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.906e-05/0.4738, allocations: 4 kB / 0.5923 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.4742, allocations: 124.9 kB / 0.5924 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.4744, allocations: 0.6845 MB / 0.5931 GB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.756e-05/0.4745, allocations: 12 kB / 0.5931 GB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.4745, allocations: 19.11 kB / 0.5931 GB, free: 11.31 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4745, allocations: 0 / 0.5931 GB, free: 11.31 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.4914, allocations: 1.052 MB / 0.5941 GB, free: 10.27 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.4916, allocations: 142.9 kB / 0.5943 GB, free: 10.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.358/1.85, allocations: 0 / 0.5943 GB, free: 10.08 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat