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.001437/0.001437, allocations: 196 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, 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.0009341/0.0009345, allocations: 104.2 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1941/0.1941, allocations: 45.14 MB / 383.7 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.963e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4859, allocations: 85.41 MB / 0.5879 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.4862, allocations: 64.03 kB / 0.5879 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001161/0.4873, allocations: 0.5585 MB / 0.5885 GB, free: 220 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4874, allocations: 0 / 0.5885 GB, free: 220 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4874, allocations: 0 / 0.5885 GB, free: 220 kB / 378.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.0002349/0.4876, allocations: 320 kB / 0.5888 GB, free: 15.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4877, allocations: 16.02 kB / 0.5888 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.4877, allocations: 0 / 0.5888 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.4878, allocations: 163 kB / 0.5889 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4878, allocations: 4 kB / 0.589 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4878, allocations: 4.578 kB / 0.589 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.292e-05/0.4879, allocations: 15.12 kB / 0.589 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.1e-05/0.488, allocations: 51.81 kB / 0.589 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.488, allocations: 0 / 0.589 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.488, allocations: 0 / 0.589 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.488, allocations: 4 kB / 0.589 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.4883, allocations: 295.5 kB / 0.5893 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.344e-05/0.4884, allocations: 29.78 kB / 0.5893 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.4884, allocations: 16.86 kB / 0.5893 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.4885, allocations: 3.984 kB / 0.5894 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4885, allocations: 38.56 kB / 0.5894 GB, free: 15.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4885, allocations: 2.734 kB / 0.5894 GB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001748/0.4887, allocations: 42.23 kB / 0.5894 GB, free: 15.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.4887, allocations: 59.39 kB / 0.5895 GB, free: 15.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.4888, allocations: 88.06 kB / 0.5896 GB, free: 14.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.4888, allocations: 29.83 kB / 0.5896 GB, free: 14.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.4888, allocations: 80.14 kB / 0.5897 GB, free: 14.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.4889, allocations: 15.19 kB / 0.5897 GB, free: 14.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.4889, allocations: 0 / 0.5897 GB, free: 14.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.489, allocations: 315.5 kB / 0.59 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.489, allocations: 7.312 kB / 0.59 GB, free: 14.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.489, allocations: 21.64 kB / 0.59 GB, free: 14.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.4891, allocations: 15.38 kB / 0.59 GB, free: 14.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4891, allocations: 0 / 0.59 GB, free: 14.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.768e-05/0.4892, allocations: 49.31 kB / 0.5901 GB, free: 14.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4892, allocations: 4 kB / 0.5901 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4892, allocations: 3.984 kB / 0.5901 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.4892, allocations: 7.938 kB / 0.5901 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.4893, allocations: 7.938 kB / 0.5901 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4893, allocations: 4 kB / 0.5901 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.4893, allocations: 3.938 kB / 0.5901 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.4894, allocations: 3.625 kB / 0.5901 GB, free: 14.36 MB / 394.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 () * 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 5.821e-05/0.4894, allocations: 109 kB / 0.5902 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.054e-05/0.4895, allocations: 53.22 kB / 0.5903 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.4895, allocations: 0 / 0.5903 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.4897, allocations: 64.73 kB / 0.5903 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4897, allocations: 3.938 kB / 0.5903 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4897, allocations: 0 / 0.5903 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4897, allocations: 0 / 0.5903 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.4899, allocations: 137.6 kB / 0.5905 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4899, allocations: 4 kB / 0.5905 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.4899, allocations: 8 kB / 0.5905 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.4899, allocations: 0 / 0.5905 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.4899, allocations: 0 / 0.5905 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4899, allocations: 4 kB / 0.5905 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4899, allocations: 0 / 0.5905 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.4901, allocations: 149.4 kB / 0.5906 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.4901, allocations: 81.16 kB / 0.5907 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.4901, allocations: 0 / 0.5907 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.4902, allocations: 15.97 kB / 0.5907 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.4902, allocations: 3.938 kB / 0.5907 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4902, allocations: 3.062 kB / 0.5907 GB, free: 13.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.615e-05/0.4903, allocations: 79.28 kB / 0.5908 GB, free: 13.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4903, allocations: 0 / 0.5908 GB, free: 13.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.4905, allocations: 8 kB / 0.5908 GB, free: 13.59 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 (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.0004104/0.4909, allocations: 0.6828 MB / 0.5915 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.491, allocations: 26.25 kB / 0.5915 GB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.491, allocations: 0 / 0.5915 GB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.491, allocations: 11.12 kB / 0.5915 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.4912, allocations: 2.75 kB / 0.5915 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.4915, allocations: 92.78 kB / 0.5916 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.4917, allocations: 0.6807 MB / 0.5923 GB, free: 12.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.4918, allocations: 4.062 kB / 0.5923 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.4918, allocations: 19.36 kB / 0.5923 GB, free: 12 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4918, allocations: 0 / 0.5923 GB, free: 12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.5106, allocations: 0.7609 MB / 0.593 GB, free: 11.26 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.5109, allocations: 156.2 kB / 0.5932 GB, free: 11.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.328/1.839, allocations: 3.938 kB / 0.5932 GB, free: 11.06 MB / 394.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