Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001802, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009759/0.0009759, allocations: 95.91 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 45.16 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.674e-05/1.687e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4553, allocations: 86.08 MB / 0.5885 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.4556, allocations: 66.59 kB / 0.5886 GB, free: 88 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009771/0.4654, allocations: 3.163 MB / 0.5917 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4654, allocations: 0.75 kB / 0.5917 GB, free: 13.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.4654, allocations: 3.938 kB / 0.5917 GB, free: 13.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003589/0.4658, allocations: 362.3 kB / 0.592 GB, free: 13.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4658, allocations: 12.03 kB / 0.592 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.4659, allocations: 4.531 kB / 0.592 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.466, allocations: 175 kB / 0.5922 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.466, allocations: 0 / 0.5922 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.4661, allocations: 4 kB / 0.5922 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.638e-05/0.4662, allocations: 50.41 kB / 0.5922 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.4663, allocations: 52.73 kB / 0.5923 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4663, allocations: 3.125 kB / 0.5923 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.4663, allocations: 0 / 0.5923 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4663, allocations: 0 / 0.5923 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.4665, allocations: 155.5 kB / 0.5924 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.4666, allocations: 80.23 kB / 0.5925 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.4667, allocations: 23.55 kB / 0.5925 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.4669, allocations: 113.1 kB / 0.5927 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.4669, allocations: 37.88 kB / 0.5927 GB, free: 12.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.4669, allocations: 0 / 0.5927 GB, free: 12.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1197/0.5867, allocations: 5.134 MB / 0.5977 GB, free: 7.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.5868, allocations: 55.41 kB / 0.5978 GB, free: 7.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.5868, allocations: 88.94 kB / 0.5978 GB, free: 7.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.5869, allocations: 29.83 kB / 0.5979 GB, free: 7.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.5869, allocations: 80.52 kB / 0.5979 GB, free: 6.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.587, allocations: 73.41 kB / 0.598 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.587, allocations: 0 / 0.598 GB, free: 6.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5872, allocations: 322.4 kB / 0.5983 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.5873, allocations: 68.92 kB / 0.5984 GB, free: 6.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.5874, allocations: 58.98 kB / 0.5984 GB, free: 6.461 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009421/0.5883, allocations: 197.4 kB / 0.5986 GB, free: 6.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5883, allocations: 0 / 0.5986 GB, free: 6.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001191/0.5895, allocations: 353.3 kB / 0.599 GB, free: 5.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5896, allocations: 11.94 kB / 0.599 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5896, allocations: 0 / 0.599 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5896, allocations: 0 / 0.599 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.59, allocations: 83.92 kB / 0.5991 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.59, allocations: 11.98 kB / 0.5991 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.5903, allocations: 31.92 kB / 0.5991 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.5903, allocations: 15.98 kB / 0.5991 GB, free: 5.832 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 (23): * Single equations (assignments): 23 * 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.0001031/0.5904, allocations: 115.9 kB / 0.5992 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001165/0.5916, allocations: 342.5 kB / 0.5996 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.5916, allocations: 11.22 kB / 0.5996 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.593, allocations: 413 kB / 0.6 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5931, allocations: 3.953 kB / 0.6 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5931, allocations: 0 / 0.6 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.5931, allocations: 7.984 kB / 0.6 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.5953, allocations: 0.7698 MB / 0.6007 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.5953, allocations: 8 kB / 0.6007 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.5956, allocations: 86.42 kB / 0.6008 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.5957, allocations: 4 kB / 0.6008 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.5957, allocations: 11.98 kB / 0.6008 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5957, allocations: 3.938 kB / 0.6008 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5957, allocations: 3.938 kB / 0.6008 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.5969, allocations: 443 kB / 0.6013 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.597, allocations: 85.02 kB / 0.6013 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.597, allocations: 0 / 0.6013 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.5972, allocations: 39.95 kB / 0.6014 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.5973, allocations: 23.38 kB / 0.6014 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.5973, allocations: 11.98 kB / 0.6014 GB, free: 3.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.251e-05/0.5973, allocations: 79.28 kB / 0.6015 GB, free: 3.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5973, allocations: 0 / 0.6015 GB, free: 3.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001705/0.5991, allocations: 0.6049 MB / 0.6021 GB, free: 2.867 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.004405/0.6035, allocations: 1.339 MB / 0.6034 GB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.6038, allocations: 163.7 kB / 0.6035 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6038, allocations: 4 kB / 0.6035 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.6039, allocations: 80.84 kB / 0.6036 GB, free: 1.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.6041, allocations: 4 kB / 0.6036 GB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.6055, allocations: 367.3 kB / 0.604 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.6058, allocations: 0.7092 MB / 0.6047 GB, free: 212 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.6062, allocations: 73.2 kB / 0.6047 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.6063, allocations: 57.58 kB / 0.6048 GB, free: 92 kB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6063, allocations: 0 / 0.6048 GB, free: 92 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04652/0.6528, allocations: 18.13 MB / 0.6225 GB, free: 14.02 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.6531, allocations: 158.4 kB / 0.6227 GB, free: 13.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.247, allocations: 2.625 kB / 0.6227 GB, free: 13.83 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat