Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 108.8 kB / 297.3 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4076/0.4076, allocations: 45.22 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003003, allocations: 8 kB / 468.5 MB, free: 7.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3799, allocations: 63.25 MB / 0.5193 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.5072, allocations: 87.5 MB / 0.6047 GB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5075, allocations: 71.92 kB / 0.6048 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02678/0.5343, allocations: 8.37 MB / 0.613 GB, free: 7.453 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5343, allocations: 3.938 kB / 0.613 GB, free: 7.449 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.5344, allocations: 0 / 0.613 GB, free: 7.449 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003605/0.5347, allocations: 351.2 kB / 0.6133 GB, free: 7.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5348, allocations: 15.97 kB / 0.6133 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.5348, allocations: 34.56 kB / 0.6133 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.5349, allocations: 0 / 0.6133 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.535, allocations: 167 kB / 0.6135 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.535, allocations: 0 / 0.6135 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.535, allocations: 7.984 kB / 0.6135 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.5351, allocations: 29.7 kB / 0.6135 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.5351, allocations: 0 / 0.6135 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5351, allocations: 0 / 0.6135 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5352, allocations: 3.938 kB / 0.6135 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.5352, allocations: 4 kB / 0.6135 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.5353, allocations: 157.6 kB / 0.6137 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.5354, allocations: 18.52 kB / 0.6137 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.5354, allocations: 4.094 kB / 0.6137 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.5354, allocations: 30.56 kB / 0.6138 GB, free: 6.473 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.5354, allocations: 0 / 0.6138 GB, free: 6.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.5356, allocations: 33.8 kB / 0.6138 GB, free: 6.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.5356, allocations: 59.38 kB / 0.6138 GB, free: 6.363 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.5357, allocations: 96.98 kB / 0.6139 GB, free: 6.262 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.5357, allocations: 25.7 kB / 0.614 GB, free: 6.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.5358, allocations: 80.14 kB / 0.614 GB, free: 6.148 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.5358, allocations: 3.906 kB / 0.614 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.5358, allocations: 0 / 0.614 GB, free: 6.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5359, allocations: 314.8 kB / 0.6143 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.5359, allocations: 8.125 kB / 0.6143 GB, free: 5.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-06/0.5359, allocations: 0 / 0.6143 GB, free: 5.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.655e-05/0.536, allocations: 8 kB / 0.6144 GB, free: 5.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.536, allocations: 0 / 0.6144 GB, free: 5.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.145e-05/0.536, allocations: 33.69 kB / 0.6144 GB, free: 5.773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5361, allocations: 8 kB / 0.6144 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5361, allocations: 0 / 0.6144 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.5361, allocations: 4 kB / 0.6144 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.5361, allocations: 0 / 0.6144 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5361, allocations: 3.938 kB / 0.6144 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.5361, allocations: 4.094 kB / 0.6144 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.5362, allocations: 4 kB / 0.6144 GB, free: 5.75 MB / 426.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.415e-05/0.5362, allocations: 109.8 kB / 0.6145 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.5363, allocations: 0 / 0.6145 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.5364, allocations: 48.41 kB / 0.6146 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5364, allocations: 3.938 kB / 0.6146 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5364, allocations: 4.031 kB / 0.6146 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.5364, allocations: 0 / 0.6146 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.5365, allocations: 157.6 kB / 0.6147 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5366, allocations: 0 / 0.6147 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-06/0.5366, allocations: 0 / 0.6147 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5366, allocations: 7.938 kB / 0.6147 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.5366, allocations: 0 / 0.6147 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5366, allocations: 0 / 0.6147 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5366, allocations: 0 / 0.6147 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.5367, allocations: 69.06 kB / 0.6148 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.5367, allocations: 81.06 kB / 0.6149 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.5367, allocations: 0 / 0.6149 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.5368, allocations: 4 kB / 0.6149 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.5368, allocations: 0 / 0.6149 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.5368, allocations: 0 / 0.6149 GB, free: 5.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.393e-05/0.5369, allocations: 87.27 kB / 0.615 GB, free: 5.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5369, allocations: 0 / 0.615 GB, free: 5.094 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.5371, allocations: 52.06 kB / 0.615 GB, free: 5.043 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005526/0.5377, allocations: 0.6407 MB / 0.6156 GB, free: 4.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.5378, allocations: 29.7 kB / 0.6157 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5378, allocations: 0 / 0.6157 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.5378, allocations: 41.78 kB / 0.6157 GB, free: 4.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.5379, allocations: 3.938 kB / 0.6157 GB, free: 4.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.5383, allocations: 124.3 kB / 0.6158 GB, free: 4.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.5386, allocations: 0.6809 MB / 0.6165 GB, free: 3.414 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.363e-05/0.5386, allocations: 3.984 kB / 0.6165 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.5387, allocations: 11.44 kB / 0.6165 GB, free: 3.398 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5387, allocations: 0 / 0.6165 GB, free: 3.398 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.5507, allocations: 1.427 MB / 0.6179 GB, free: 2.098 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.5509, allocations: 183.7 kB / 0.6181 GB, free: 1.855 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.129, allocations: 0 / 0.6181 GB, free: 1.855 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat