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.001381/0.001381, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 105.2 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4528/0.4528, allocations: 45.22 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002857, allocations: 8 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4971, allocations: 63.24 MB / 0.5193 GB, free: 43.9 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.629, allocations: 86.22 MB / 0.6035 GB, free: 3.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.6294, allocations: 68.69 kB / 0.6035 GB, free: 3.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003139/0.6325, allocations: 0.9027 MB / 0.6044 GB, free: 2.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6326, allocations: 0 / 0.6044 GB, free: 2.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.6326, allocations: 0 / 0.6044 GB, free: 2.473 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.0003691/0.633, allocations: 347.8 kB / 0.6047 GB, free: 2.086 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.633, allocations: 13.28 kB / 0.6048 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.6331, allocations: 34.55 kB / 0.6048 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.6331, allocations: 4 kB / 0.6048 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.6333, allocations: 167.6 kB / 0.6049 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.6333, allocations: 4 kB / 0.605 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.6333, allocations: 6.656 kB / 0.605 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.6335, allocations: 61.61 kB / 0.605 GB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.6335, allocations: 0 / 0.605 GB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.6335, allocations: 4 kB / 0.605 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6336, allocations: 3.984 kB / 0.605 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.6337, allocations: 47.95 kB / 0.6051 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.6339, allocations: 178.2 kB / 0.6052 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.6341, allocations: 75.52 kB / 0.6053 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.6344, allocations: 248.8 kB / 0.6056 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.6345, allocations: 39.42 kB / 0.6056 GB, free: 1.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.6345, allocations: 4 kB / 0.6056 GB, free: 1.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002702/0.6348, allocations: 95.78 kB / 0.6057 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.6348, allocations: 51.41 kB / 0.6057 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.6349, allocations: 92.98 kB / 0.6058 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.635, allocations: 25.7 kB / 0.6058 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.635, allocations: 81.08 kB / 0.6059 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.6351, allocations: 32.16 kB / 0.606 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-06/0.6351, allocations: 7.938 kB / 0.606 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6353, allocations: 315.7 kB / 0.6063 GB, free: 324 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.6353, allocations: 17.12 kB / 0.6063 GB, free: 308 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.6353, allocations: 19.92 kB / 0.6063 GB, free: 288 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.6354, allocations: 28.7 kB / 0.6063 GB, free: 260 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6354, allocations: 0 / 0.6063 GB, free: 260 kB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001335/0.6356, allocations: 80.44 kB / 0.6064 GB, free: 176 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6356, allocations: 6.031 kB / 0.6064 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6356, allocations: 0 / 0.6064 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6356, allocations: 0 / 0.6064 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.6357, allocations: 23.92 kB / 0.6064 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.6358, allocations: 0 / 0.6064 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.6358, allocations: 7.906 kB / 0.6064 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6358, allocations: 5.219 kB / 0.6064 GB, free: 136 kB / 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.0001101/0.6359, allocations: 113.8 kB / 0.6066 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.636, allocations: 5 kB / 0.6066 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.6362, allocations: 105.7 kB / 0.6067 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6362, allocations: 4 kB / 0.6067 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6363, allocations: 0 / 0.6067 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6363, allocations: 4 kB / 0.6067 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.6364, allocations: 169.5 kB / 0.6068 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6364, allocations: 3.953 kB / 0.6068 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.6365, allocations: 19.98 kB / 0.6068 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6365, allocations: 0 / 0.6068 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.6365, allocations: 0 / 0.6068 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6366, allocations: 4.312 kB / 0.6069 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6366, allocations: 0 / 0.6069 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.6367, allocations: 117 kB / 0.607 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.6368, allocations: 84.97 kB / 0.607 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.6368, allocations: 0 / 0.607 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.6369, allocations: 7.938 kB / 0.6071 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.6369, allocations: 3.984 kB / 0.6071 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.6369, allocations: 8 kB / 0.6071 GB, free: 15.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.693e-05/0.637, allocations: 75.28 kB / 0.6071 GB, free: 15.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.637, allocations: 4.094 kB / 0.6071 GB, free: 15.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.6372, allocations: 19.94 kB / 0.6072 GB, free: 15.3 MB / 426.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.0005612/0.6378, allocations: 0.6553 MB / 0.6078 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.638, allocations: 55.91 kB / 0.6079 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.638, allocations: 0 / 0.6079 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.638, allocations: 35.94 kB / 0.6079 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.6382, allocations: 1.547 kB / 0.6079 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.6387, allocations: 187.9 kB / 0.6081 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.639, allocations: 0.6817 MB / 0.6087 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.6391, allocations: 12 kB / 0.6087 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.6391, allocations: 15.42 kB / 0.6088 GB, free: 13.57 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6392, allocations: 0 / 0.6088 GB, free: 13.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.6539, allocations: 1.335 MB / 0.6101 GB, free: 12.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.6542, allocations: 180.1 kB / 0.6102 GB, free: 12.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.437, allocations: 0 / 0.6102 GB, free: 12.17 MB / 426.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