Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.00125/0.00125, 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.492/1.492, allocations: 221.3 MB / 236 MB, free: 3.004 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.0009429/0.0009429, allocations: 91.67 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.2034/0.2034, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.649e-05, allocations: 224 / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.5417, allocations: 85.6 MB / 0.5854 GB, free: 3.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.5419, allocations: 63.97 kB / 0.5854 GB, free: 3.613 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009128/0.5511, allocations: 3.036 MB / 0.5884 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5511, allocations: 0 / 0.5884 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.5511, allocations: 4 kB / 0.5884 GB, free: 0.5859 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003578/0.5515, allocations: 362.4 kB / 0.5888 GB, free: 192 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5516, allocations: 8.031 kB / 0.5888 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.5516, allocations: 42.5 kB / 0.5888 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.5516, allocations: 3.906 kB / 0.5888 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5518, allocations: 174.9 kB / 0.589 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.5518, allocations: 7.938 kB / 0.589 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.5518, allocations: 4 kB / 0.589 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.5519, allocations: 57.62 kB / 0.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.552, allocations: 0 / 0.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.552, allocations: 7.984 kB / 0.5891 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.552, allocations: 4 kB / 0.5891 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.458e-05/0.5521, allocations: 27.94 kB / 0.5891 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.5522, allocations: 173.5 kB / 0.5892 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.5525, allocations: 58.52 kB / 0.5893 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.5525, allocations: 20.86 kB / 0.5893 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.5527, allocations: 117.1 kB / 0.5894 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.5528, allocations: 34.78 kB / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.5528, allocations: 0 / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1152/0.668, allocations: 5.386 MB / 0.5947 GB, free: 9.898 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.6681, allocations: 51.41 kB / 0.5948 GB, free: 9.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.6682, allocations: 101 kB / 0.5949 GB, free: 9.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.6682, allocations: 29.7 kB / 0.5949 GB, free: 9.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.6683, allocations: 80.14 kB / 0.595 GB, free: 9.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.6684, allocations: 63.09 kB / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.6684, allocations: 4 kB / 0.595 GB, free: 9.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6685, allocations: 318.8 kB / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.6689, allocations: 195.9 kB / 0.5955 GB, free: 9.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.6692, allocations: 191.9 kB / 0.5957 GB, free: 8.848 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.67, allocations: 242 kB / 0.5959 GB, free: 8.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.67, allocations: 0 / 0.5959 GB, free: 8.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001362/0.6714, allocations: 0.5287 MB / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.6714, allocations: 4 kB / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6714, allocations: 0 / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.6714, allocations: 4 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.6721, allocations: 119.8 kB / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.6721, allocations: 3.984 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.6726, allocations: 31.95 kB / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.6726, allocations: 35.94 kB / 0.5967 GB, free: 7.883 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001309/0.6728, allocations: 117.1 kB / 0.5968 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.6728, allocations: 7.906 kB / 0.5968 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.6745, allocations: 0.6519 MB / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6745, allocations: 3.938 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6746, allocations: 4 kB / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6746, allocations: 0 / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.6781, allocations: 1.121 MB / 0.5985 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6781, allocations: 0 / 0.5985 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.6786, allocations: 99.86 kB / 0.5986 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.6787, allocations: 7.938 kB / 0.5986 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.6787, allocations: 27.95 kB / 0.5986 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6787, allocations: 7.953 kB / 0.5986 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6787, allocations: 8.156 kB / 0.5987 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.68, allocations: 0.5688 MB / 0.5992 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.68, allocations: 85.02 kB / 0.5993 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.6801, allocations: 4 kB / 0.5993 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.6805, allocations: 39.95 kB / 0.5993 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.6805, allocations: 19.94 kB / 0.5994 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.6806, allocations: 27.95 kB / 0.5994 GB, free: 4.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.28e-05/0.6806, allocations: 83.28 kB / 0.5995 GB, free: 4.828 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6806, allocations: 3.938 kB / 0.5995 GB, free: 4.824 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001625/0.6823, allocations: 0.6325 MB / 0.6001 GB, free: 4.191 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.004385/0.6867, allocations: 1.755 MB / 0.6018 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.6874, allocations: 371.7 kB / 0.6021 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6874, allocations: 4 kB / 0.6022 GB, free: 2.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.6877, allocations: 165.3 kB / 0.6023 GB, free: 1.844 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.6879, allocations: 8 kB / 0.6023 GB, free: 1.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.6908, allocations: 0.5934 MB / 0.6029 GB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.6911, allocations: 0.6968 MB / 0.6036 GB, free: 472 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005408/0.6917, allocations: 124.9 kB / 0.6037 GB, free: 344 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.692, allocations: 99.28 kB / 0.6038 GB, free: 244 kB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.692, allocations: 0 / 0.6038 GB, free: 244 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04563/0.7376, allocations: 21.21 MB / 0.6245 GB, free: 11.15 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.7379, allocations: 162.7 kB / 0.6247 GB, free: 10.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.661, allocations: 0 / 0.6247 GB, free: 10.93 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat