Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 95.55 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.767e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1697, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4852/0.655, allocations: 85.02 MB / 0.5848 GB, free: 4.246 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.6552, allocations: 63.95 kB / 0.5849 GB, free: 4.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001433/0.6567, allocations: 0.5601 MB / 0.5854 GB, free: 3.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.6567, allocations: 0 / 0.5854 GB, free: 3.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.6567, allocations: 3.938 kB / 0.5854 GB, free: 3.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002913/0.657, allocations: 332.2 kB / 0.5858 GB, free: 3.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6571, allocations: 8.031 kB / 0.5858 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.6571, allocations: 34.56 kB / 0.5858 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.6572, allocations: 0 / 0.5858 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.6573, allocations: 163 kB / 0.586 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.6573, allocations: 4 kB / 0.586 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.6573, allocations: 11.94 kB / 0.586 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.6574, allocations: 47.42 kB / 0.586 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.6575, allocations: 3.984 kB / 0.586 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.6575, allocations: 7.938 kB / 0.586 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6575, allocations: 0 / 0.586 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.6575, allocations: 15.98 kB / 0.586 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.6579, allocations: 320.5 kB / 0.5863 GB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.6579, allocations: 26.52 kB / 0.5864 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.658, allocations: 21.36 kB / 0.5864 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.658, allocations: 0 / 0.5864 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.658, allocations: 34.56 kB / 0.5864 GB, free: 2.441 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.658, allocations: 0 / 0.5864 GB, free: 2.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001481/0.6582, allocations: 49.69 kB / 0.5865 GB, free: 2.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.6582, allocations: 51.41 kB / 0.5865 GB, free: 2.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.6583, allocations: 89 kB / 0.5866 GB, free: 2.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.6583, allocations: 29.7 kB / 0.5866 GB, free: 2.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.6584, allocations: 91.2 kB / 0.5867 GB, free: 2.105 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.6584, allocations: 7.812 kB / 0.5867 GB, free: 2.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.6584, allocations: 0 / 0.5867 GB, free: 2.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6585, allocations: 318.8 kB / 0.587 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.6586, allocations: 7.938 kB / 0.587 GB, free: 1.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.6586, allocations: 21.66 kB / 0.5871 GB, free: 1.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.6586, allocations: 7.984 kB / 0.5871 GB, free: 1.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6586, allocations: 8 kB / 0.5871 GB, free: 1.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.491e-05/0.6587, allocations: 57.58 kB / 0.5871 GB, free: 1.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6588, allocations: 5.094 kB / 0.5871 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6588, allocations: 0 / 0.5871 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6588, allocations: 4 kB / 0.5871 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.6589, allocations: 8 kB / 0.5871 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.6589, allocations: 0 / 0.5871 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.6589, allocations: 7.938 kB / 0.5872 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.6589, allocations: 0 / 0.5872 GB, free: 1.645 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 7.499e-05/0.659, allocations: 109 kB / 0.5873 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.659, allocations: 11.84 kB / 0.5873 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.6592, allocations: 65.12 kB / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6592, allocations: 0 / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6592, allocations: 0 / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6592, allocations: 0 / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.6594, allocations: 157.7 kB / 0.5875 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6594, allocations: 4 kB / 0.5875 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.6594, allocations: 7.938 kB / 0.5875 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.6594, allocations: 3.953 kB / 0.5875 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.6594, allocations: 11.83 kB / 0.5875 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6595, allocations: 0 / 0.5875 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6595, allocations: 0 / 0.5875 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.6596, allocations: 143.5 kB / 0.5876 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.6596, allocations: 85.09 kB / 0.5877 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.6597, allocations: 7.891 kB / 0.5877 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.6597, allocations: 4.875 kB / 0.5877 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.6597, allocations: 96 / 0.5877 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.6598, allocations: 11.98 kB / 0.5877 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.256e-05/0.6598, allocations: 75.28 kB / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6598, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.66, allocations: 8 kB / 0.5878 GB, free: 0.8516 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.0004324/0.6605, allocations: 0.6854 MB / 0.5885 GB, free: 144 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.185e-05/0.6606, allocations: 28 kB / 0.5885 GB, free: 116 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6606, allocations: 0 / 0.5885 GB, free: 116 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.6606, allocations: 16 kB / 0.5885 GB, free: 100 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.6607, allocations: 6.016 kB / 0.5885 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.6611, allocations: 99.08 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.6613, allocations: 0.6848 MB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.6614, allocations: 4.062 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.6614, allocations: 15.42 kB / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6614, allocations: 0 / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.6732, allocations: 1.068 MB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.6734, allocations: 167.8 kB / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.147, allocations: 0 / 0.5905 GB, free: 14.05 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat