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.001409/0.001409, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009008/0.0009011, allocations: 86.36 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.757e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3906/0.5015, allocations: 84.93 MB / 0.5777 GB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.5018, allocations: 67.97 kB / 0.5778 GB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009024/0.5108, allocations: 3.016 MB / 0.5807 GB, free: 8.352 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.5108, allocations: 0 / 0.5807 GB, free: 8.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.5109, allocations: 11.94 kB / 0.5807 GB, free: 8.34 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.000404/0.5113, allocations: 358.4 kB / 0.5811 GB, free: 7.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5113, allocations: 11.98 kB / 0.5811 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.5114, allocations: 8.781 kB / 0.5811 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.5115, allocations: 171 kB / 0.5812 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.5116, allocations: 7.891 kB / 0.5813 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.5116, allocations: 4 kB / 0.5813 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.977e-05/0.5117, allocations: 23.98 kB / 0.5813 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.5118, allocations: 49.62 kB / 0.5813 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5118, allocations: 4.562 kB / 0.5813 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5118, allocations: 0 / 0.5813 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5118, allocations: 0 / 0.5813 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.512, allocations: 150.1 kB / 0.5815 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.5122, allocations: 46.56 kB / 0.5815 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.5123, allocations: 25.14 kB / 0.5815 GB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.5125, allocations: 121 kB / 0.5817 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.5126, allocations: 38.52 kB / 0.5817 GB, free: 7.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.5126, allocations: 0 / 0.5817 GB, free: 7.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1224/0.635, allocations: 5.454 MB / 0.587 GB, free: 1.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.635, allocations: 59.41 kB / 0.5871 GB, free: 1.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.53e-05/0.6351, allocations: 89 kB / 0.5872 GB, free: 1.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.6352, allocations: 25.7 kB / 0.5872 GB, free: 1.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.6352, allocations: 88.12 kB / 0.5873 GB, free: 1.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/0.6353, allocations: 55.11 kB / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.6354, allocations: 0 / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6355, allocations: 322.8 kB / 0.5876 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.6358, allocations: 184 kB / 0.5878 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.636, allocations: 184.1 kB / 0.588 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.6374, allocations: 287.7 kB / 0.5883 GB, free: 388 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6374, allocations: 3.938 kB / 0.5883 GB, free: 384 kB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001889/0.6393, allocations: 0.581 MB / 0.5888 GB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6393, allocations: 7.938 kB / 0.5888 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6393, allocations: 0 / 0.5888 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6393, allocations: 0 / 0.5888 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007377/0.6401, allocations: 115.8 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.6401, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.6406, allocations: 28.22 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.6407, allocations: 31.94 kB / 0.589 GB, free: 15.61 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.0001789/0.6409, allocations: 112.9 kB / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00173/0.6426, allocations: 0.5675 MB / 0.5897 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.6427, allocations: 15.84 kB / 0.5897 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.6447, allocations: 0.6785 MB / 0.5903 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.6448, allocations: 3.953 kB / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6448, allocations: 0 / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.6448, allocations: 7.984 kB / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/0.649, allocations: 1.129 MB / 0.5915 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.649, allocations: 0 / 0.5915 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.6496, allocations: 99.86 kB / 0.5916 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.6496, allocations: 4 kB / 0.5916 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.6496, allocations: 28.14 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6497, allocations: 4 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.6497, allocations: 3.938 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.6511, allocations: 0.6137 MB / 0.5922 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.6511, allocations: 85.02 kB / 0.5923 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.6512, allocations: 4 kB / 0.5923 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.6516, allocations: 35.95 kB / 0.5923 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.6517, allocations: 15.92 kB / 0.5923 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.6517, allocations: 31.95 kB / 0.5924 GB, free: 12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.6518, allocations: 79.28 kB / 0.5924 GB, free: 11.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6518, allocations: 4 kB / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001653/0.6534, allocations: 0.6285 MB / 0.5931 GB, free: 11.29 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.004717/0.6582, allocations: 1.784 MB / 0.5948 GB, free: 9.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.6588, allocations: 369 kB / 0.5951 GB, free: 9.082 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6588, allocations: 4 kB / 0.5952 GB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.659, allocations: 159.8 kB / 0.5953 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.6592, allocations: 7.953 kB / 0.5953 GB, free: 8.914 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.6621, allocations: 0.579 MB / 0.5959 GB, free: 8.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.6624, allocations: 0.7003 MB / 0.5966 GB, free: 7.555 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005514/0.6629, allocations: 129.1 kB / 0.5967 GB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.6633, allocations: 103.2 kB / 0.5968 GB, free: 7.324 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6633, allocations: 4 kB / 0.5968 GB, free: 7.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/0.7139, allocations: 21.21 MB / 0.6175 GB, free: 2.148 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/0.7143, allocations: 154.3 kB / 0.6176 GB, free: 1.953 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.543, allocations: 0 / 0.6176 GB, free: 1.953 MB / 426.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