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.0009938/0.0009938, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008053/0.0008054, allocations: 94.64 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1813/0.1813, allocations: 45.17 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.359e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09063, allocations: 63.25 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4334, allocations: 86.14 MB / 0.5956 GB, free: 7.328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.4336, allocations: 65.52 kB / 0.5956 GB, free: 7.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002353/0.4359, allocations: 0.9041 MB / 0.5965 GB, free: 6.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.436, allocations: 0 / 0.5965 GB, free: 6.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.436, allocations: 4 kB / 0.5965 GB, free: 6.484 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.0002141/0.4362, allocations: 337.9 kB / 0.5968 GB, free: 6.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4362, allocations: 11.97 kB / 0.5969 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.4363, allocations: 38.06 kB / 0.5969 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.4363, allocations: 0.625 kB / 0.5969 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.4364, allocations: 174.9 kB / 0.5971 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.4364, allocations: 0 / 0.5971 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4365, allocations: 7.062 kB / 0.5971 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4366, allocations: 48.25 kB / 0.5971 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.4366, allocations: 4 kB / 0.5971 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4366, allocations: 11.55 kB / 0.5971 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4366, allocations: 0 / 0.5971 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.4367, allocations: 56.33 kB / 0.5972 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.4369, allocations: 168.3 kB / 0.5973 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.437, allocations: 71.56 kB / 0.5974 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.437, allocations: 30.92 kB / 0.5974 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.4373, allocations: 255.3 kB / 0.5977 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.4373, allocations: 34.78 kB / 0.5977 GB, free: 5.102 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.4373, allocations: 0 / 0.5977 GB, free: 5.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001678/0.4375, allocations: 82.88 kB / 0.5978 GB, free: 5.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.4375, allocations: 55.34 kB / 0.5979 GB, free: 4.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/0.4376, allocations: 85 kB / 0.5979 GB, free: 4.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4376, allocations: 25.7 kB / 0.598 GB, free: 4.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.4377, allocations: 87.08 kB / 0.598 GB, free: 4.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.4377, allocations: 38.75 kB / 0.5981 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.4377, allocations: 4 kB / 0.5981 GB, free: 4.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.4378, allocations: 318.1 kB / 0.5984 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.4378, allocations: 15.12 kB / 0.5984 GB, free: 4.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.4379, allocations: 14.5 kB / 0.5984 GB, free: 4.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.4379, allocations: 19.3 kB / 0.5984 GB, free: 4.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4379, allocations: 0 / 0.5984 GB, free: 4.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.438, allocations: 78.69 kB / 0.5985 GB, free: 4.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.438, allocations: 12 kB / 0.5985 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.438, allocations: 0 / 0.5985 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4381, allocations: 0 / 0.5985 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.4381, allocations: 15.98 kB / 0.5985 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4382, allocations: 4 kB / 0.5985 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.4382, allocations: 8.125 kB / 0.5985 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4382, allocations: 3.75 kB / 0.5985 GB, free: 4.254 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.58e-05/0.4383, allocations: 116.8 kB / 0.5987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.4383, allocations: 0 / 0.5987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.4385, allocations: 113.4 kB / 0.5988 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4385, allocations: 0 / 0.5988 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4385, allocations: 0 / 0.5988 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4385, allocations: 0 / 0.5988 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.4386, allocations: 176.8 kB / 0.5989 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4386, allocations: 0 / 0.5989 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.4387, allocations: 15.98 kB / 0.599 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4387, allocations: 4 kB / 0.599 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4387, allocations: 3.125 kB / 0.599 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4387, allocations: 0 / 0.599 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4387, allocations: 4 kB / 0.599 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.4388, allocations: 107 kB / 0.5991 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.4389, allocations: 81.06 kB / 0.5991 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.4389, allocations: 6.625 kB / 0.5991 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.4389, allocations: 0 / 0.5991 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.4389, allocations: 7.984 kB / 0.5992 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.4389, allocations: 3.375 kB / 0.5992 GB, free: 3.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.422e-05/0.439, allocations: 79.28 kB / 0.5992 GB, free: 3.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.439, allocations: 0 / 0.5992 GB, free: 3.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.4392, allocations: 27.25 kB / 0.5993 GB, free: 3.469 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.0003753/0.4396, allocations: 0.6611 MB / 0.5999 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.928e-05/0.4397, allocations: 50.12 kB / 0.6 GB, free: 2.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4397, allocations: 4 kB / 0.6 GB, free: 2.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.4397, allocations: 30.98 kB / 0.6 GB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.992e-05/0.4398, allocations: 5.312 kB / 0.6 GB, free: 2.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.4401, allocations: 140.4 kB / 0.6001 GB, free: 2.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.4403, allocations: 0.6809 MB / 0.6008 GB, free: 1.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.65e-05/0.4404, allocations: 12 kB / 0.6008 GB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.4404, allocations: 18.86 kB / 0.6008 GB, free: 1.832 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4404, allocations: 0 / 0.6008 GB, free: 1.832 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.4514, allocations: 1.348 MB / 0.6021 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.4516, allocations: 163.8 kB / 0.6023 GB, free: 396 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.297/1.749, allocations: 0 / 0.6023 GB, free: 396 kB / 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