Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 97.31 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5387/0.5387, allocations: 45.22 MB / 394.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.000373, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4703, allocations: 63.24 MB / 0.5193 GB, free: 43.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.5897, allocations: 86.09 MB / 0.6033 GB, free: 3.496 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.59, allocations: 71.92 kB / 0.6034 GB, free: 3.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001795/0.5918, allocations: 0.6165 MB / 0.604 GB, free: 2.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5918, allocations: 0 / 0.604 GB, free: 2.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.5918, allocations: 7.938 kB / 0.604 GB, free: 2.812 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003454/0.5922, allocations: 323.3 kB / 0.6043 GB, free: 2.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.5923, allocations: 11.97 kB / 0.6043 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.5923, allocations: 34.56 kB / 0.6044 GB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.5923, allocations: 3.984 kB / 0.6044 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.5925, allocations: 171.5 kB / 0.6045 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5925, allocations: 0.7188 kB / 0.6045 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.5926, allocations: 0 / 0.6045 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.5927, allocations: 42.38 kB / 0.6046 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5927, allocations: 0.625 kB / 0.6046 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.5927, allocations: 0 / 0.6046 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.5927, allocations: 0.8438 kB / 0.6046 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.5928, allocations: 11.98 kB / 0.6046 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.593, allocations: 154.5 kB / 0.6047 GB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.5932, allocations: 39.7 kB / 0.6048 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/0.5935, allocations: 124.2 kB / 0.6049 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.5935, allocations: 30.56 kB / 0.6049 GB, free: 1.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.5936, allocations: 3.031 kB / 0.6049 GB, free: 1.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001391/0.595, allocations: 205.4 kB / 0.6051 GB, free: 1.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.595, allocations: 51.41 kB / 0.6052 GB, free: 1.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.5951, allocations: 92.98 kB / 0.6052 GB, free: 1.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.5951, allocations: 25.7 kB / 0.6053 GB, free: 1.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.5951, allocations: 80.14 kB / 0.6053 GB, free: 1.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.5952, allocations: 19.75 kB / 0.6054 GB, free: 1.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.5952, allocations: 0 / 0.6054 GB, free: 1.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5953, allocations: 314.8 kB / 0.6057 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.433e-05/0.5954, allocations: 32.09 kB / 0.6057 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.5955, allocations: 23.98 kB / 0.6057 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.5956, allocations: 19.98 kB / 0.6057 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5956, allocations: 0 / 0.6057 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002201/0.5959, allocations: 85.61 kB / 0.6058 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5959, allocations: 11.98 kB / 0.6058 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5959, allocations: 0 / 0.6058 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5959, allocations: 0 / 0.6058 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.5961, allocations: 15.98 kB / 0.6058 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5961, allocations: 0 / 0.6058 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.5962, allocations: 8.25 kB / 0.6059 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.5962, allocations: 8 kB / 0.6059 GB, free: 0.6836 MB / 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 (5): * Single equations (assignments): 5 * 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 9.558e-05/0.5963, allocations: 122.9 kB / 0.606 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.5963, allocations: 4 kB / 0.606 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.5966, allocations: 101.1 kB / 0.6061 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5966, allocations: 0 / 0.6061 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5967, allocations: 7.922 kB / 0.6061 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5967, allocations: 0 / 0.6061 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.5974, allocations: 359.3 kB / 0.6064 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5974, allocations: 0 / 0.6064 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.5975, allocations: 15.98 kB / 0.6064 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.5975, allocations: 4 kB / 0.6065 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.5976, allocations: 7.984 kB / 0.6065 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5976, allocations: 0 / 0.6065 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5976, allocations: 4.031 kB / 0.6065 GB, free: 0 / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.5979, allocations: 198 kB / 0.6067 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.5979, allocations: 81.11 kB / 0.6067 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.598, allocations: 0 / 0.6067 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.5981, allocations: 11.98 kB / 0.6067 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.5981, allocations: 3.938 kB / 0.6067 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.5981, allocations: 4 kB / 0.6067 GB, free: 15.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.5982, allocations: 79.23 kB / 0.6068 GB, free: 15.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5982, allocations: 0 / 0.6068 GB, free: 15.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.5984, allocations: 16 kB / 0.6068 GB, free: 15.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0006826/0.5991, allocations: 0.8008 MB / 0.6076 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.5994, allocations: 56.09 kB / 0.6077 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5994, allocations: 0 / 0.6077 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.5995, allocations: 28.03 kB / 0.6077 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.5996, allocations: 11.95 kB / 0.6077 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.6003, allocations: 180 kB / 0.6079 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.6007, allocations: 0.677 MB / 0.6085 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.6008, allocations: 16.11 kB / 0.6086 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.6009, allocations: 11.44 kB / 0.6086 GB, free: 13.7 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6009, allocations: 0 / 0.6086 GB, free: 13.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.6145, allocations: 1.223 MB / 0.6098 GB, free: 12.64 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.6148, allocations: 178.5 kB / 0.6099 GB, free: 12.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.208, allocations: 0 / 0.6099 GB, free: 12.4 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat