Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 199.4 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.539/1.539, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 103.9 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.462/0.462, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 8.219 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4336, allocations: 63.24 MB / 0.5193 GB, free: 43.89 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.5587, allocations: 86.15 MB / 0.6034 GB, free: 3.477 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.5589, allocations: 72.55 kB / 0.6035 GB, free: 3.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001325/0.5603, allocations: 0.5664 MB / 0.604 GB, free: 2.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5603, allocations: 3.938 kB / 0.604 GB, free: 2.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.5603, allocations: 4 kB / 0.604 GB, free: 2.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003751/0.5607, allocations: 340.6 kB / 0.6043 GB, free: 2.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.5607, allocations: 8.031 kB / 0.6043 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.5608, allocations: 31.34 kB / 0.6044 GB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.5608, allocations: 4 kB / 0.6044 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.561, allocations: 171.5 kB / 0.6045 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.561, allocations: 0.875 kB / 0.6045 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.561, allocations: 8 kB / 0.6046 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.5612, allocations: 48.69 kB / 0.6046 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5612, allocations: 0 / 0.6046 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5612, allocations: 6.094 kB / 0.6046 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.5612, allocations: 0 / 0.6046 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.5613, allocations: 11.94 kB / 0.6046 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.5617, allocations: 326.4 kB / 0.6049 GB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.82e-05/0.5618, allocations: 22.58 kB / 0.605 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.5618, allocations: 0.7188 kB / 0.605 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.5618, allocations: 31.41 kB / 0.605 GB, free: 1.684 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5618, allocations: 0 / 0.605 GB, free: 1.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.562, allocations: 63.28 kB / 0.605 GB, free: 1.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.5621, allocations: 51.41 kB / 0.6051 GB, free: 1.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.5622, allocations: 89.56 kB / 0.6052 GB, free: 1.461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.5622, allocations: 33.69 kB / 0.6052 GB, free: 1.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.5623, allocations: 80.95 kB / 0.6053 GB, free: 1.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.5623, allocations: 15.75 kB / 0.6053 GB, free: 1.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.5623, allocations: 0.75 kB / 0.6053 GB, free: 1.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5624, allocations: 320 kB / 0.6056 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.5625, allocations: 4 kB / 0.6056 GB, free: 1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.5625, allocations: 25.11 kB / 0.6056 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.5625, allocations: 8 kB / 0.6056 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5625, allocations: 4 kB / 0.6056 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.953e-05/0.5626, allocations: 53.62 kB / 0.6057 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5627, allocations: 4 kB / 0.6057 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.5627, allocations: 0 / 0.6057 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5627, allocations: 0 / 0.6057 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.5628, allocations: 15.02 kB / 0.6057 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5628, allocations: 3.938 kB / 0.6057 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.5628, allocations: 4 kB / 0.6057 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5628, allocations: 0 / 0.6057 GB, free: 0.8789 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.232e-05/0.5629, allocations: 119.1 kB / 0.6058 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.563, allocations: 8.031 kB / 0.6058 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.5631, allocations: 61.34 kB / 0.6059 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5631, allocations: 11.94 kB / 0.6059 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5631, allocations: 0 / 0.6059 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5632, allocations: 0 / 0.6059 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.5633, allocations: 157.6 kB / 0.6061 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5633, allocations: 0 / 0.6061 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.5634, allocations: 11.98 kB / 0.6061 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5634, allocations: 240 / 0.6061 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5634, allocations: 3.938 kB / 0.6061 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5634, allocations: 0 / 0.6061 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5634, allocations: 4 kB / 0.6061 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.5635, allocations: 155.5 kB / 0.6062 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.5636, allocations: 81.11 kB / 0.6063 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.5636, allocations: 0 / 0.6063 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.5637, allocations: 0 / 0.6063 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.5637, allocations: 4 kB / 0.6063 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.5637, allocations: 3.984 kB / 0.6063 GB, free: 176 kB / 410.7 MB Notification: Performance of sorting global known variables: time 4.252e-05/0.5638, allocations: 79.28 kB / 0.6064 GB, free: 96 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5638, allocations: 4.094 kB / 0.6064 GB, free: 92 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.564, allocations: 8 kB / 0.6064 GB, free: 84 kB / 410.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 (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.0005273/0.5646, allocations: 0.686 MB / 0.6071 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.5647, allocations: 27.98 kB / 0.6071 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5647, allocations: 0 / 0.6071 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.5647, allocations: 20.19 kB / 0.6071 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.5649, allocations: 4 kB / 0.6071 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.5653, allocations: 151.4 kB / 0.6073 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.5656, allocations: 0.6809 MB / 0.6079 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.5657, allocations: 8 kB / 0.6079 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.5657, allocations: 7.438 kB / 0.6079 GB, free: 14.41 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5657, allocations: 0 / 0.6079 GB, free: 14.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.5784, allocations: 1.053 MB / 0.609 GB, free: 13.54 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.5786, allocations: 192.5 kB / 0.6092 GB, free: 13.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.185, allocations: 0 / 0.6092 GB, free: 13.3 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat