Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002339, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.306/2.306, allocations: 205.2 MB / 219.4 MB, free: 14.3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2833/0.2833, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.78e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4975/0.618, allocations: 84.58 MB / 0.5555 GB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.6183, allocations: 68.94 kB / 0.5555 GB, free: 2.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.015/0.6333, allocations: 3.148 MB / 0.5586 GB, free: 268 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6334, allocations: 0 / 0.5586 GB, free: 268 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.6334, allocations: 0 / 0.5586 GB, free: 268 kB / 362.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.0004648/0.6339, allocations: 366.2 kB / 0.559 GB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.6339, allocations: 12.03 kB / 0.559 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.634, allocations: 38.48 kB / 0.559 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.634, allocations: 12.48 kB / 0.559 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.6342, allocations: 163 kB / 0.5592 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.6342, allocations: 11.56 kB / 0.5592 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.6343, allocations: 4 kB / 0.5592 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.6345, allocations: 59.36 kB / 0.5593 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.6345, allocations: 4 kB / 0.5593 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.6345, allocations: 3.188 kB / 0.5593 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.6345, allocations: 0 / 0.5593 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.6347, allocations: 43.34 kB / 0.5593 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.6349, allocations: 187.3 kB / 0.5595 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.6352, allocations: 89.44 kB / 0.5596 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.165e-05/0.6352, allocations: 28.05 kB / 0.5596 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/0.6357, allocations: 105.1 kB / 0.5597 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.6357, allocations: 34.56 kB / 0.5597 GB, free: 15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.6357, allocations: 4 kB / 0.5597 GB, free: 14.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.2399/0.8756, allocations: 4.979 MB / 0.5646 GB, free: 10.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.8757, allocations: 59.27 kB / 0.5647 GB, free: 9.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.8758, allocations: 85 kB / 0.5647 GB, free: 9.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.8759, allocations: 32.83 kB / 0.5648 GB, free: 9.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.876, allocations: 155.1 kB / 0.5649 GB, free: 9.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.8761, allocations: 73.03 kB / 0.565 GB, free: 9.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.8761, allocations: 3.125 kB / 0.565 GB, free: 9.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8763, allocations: 322.1 kB / 0.5653 GB, free: 9.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.8766, allocations: 65.67 kB / 0.5654 GB, free: 9.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.8768, allocations: 73.11 kB / 0.5654 GB, free: 9.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.8777, allocations: 111.4 kB / 0.5655 GB, free: 9.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8777, allocations: 0 / 0.5655 GB, free: 9.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001364/0.8791, allocations: 262.9 kB / 0.5658 GB, free: 8.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.8792, allocations: 15.94 kB / 0.5658 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8792, allocations: 0 / 0.5658 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.8792, allocations: 3.953 kB / 0.5658 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.88, allocations: 91.84 kB / 0.5659 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.88, allocations: 4 kB / 0.5659 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.8804, allocations: 35.28 kB / 0.5659 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/0.8805, allocations: 15.98 kB / 0.5659 GB, free: 8.762 MB / 378.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.0001726/0.8807, allocations: 116.1 kB / 0.5661 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.8808, allocations: 11.91 kB / 0.5661 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.8826, allocations: 338.5 kB / 0.5664 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.8827, allocations: 11.97 kB / 0.5664 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8827, allocations: 3.953 kB / 0.5664 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8827, allocations: 0 / 0.5664 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.8859, allocations: 0.7309 MB / 0.5671 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.886, allocations: 7.922 kB / 0.5671 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.8866, allocations: 91.94 kB / 0.5672 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.8866, allocations: 0 / 0.5672 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.8867, allocations: 14.8 kB / 0.5672 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.8867, allocations: 4 kB / 0.5672 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8867, allocations: 0 / 0.5672 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.888, allocations: 358.5 kB / 0.5676 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.8881, allocations: 92.52 kB / 0.5677 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.8881, allocations: 7.984 kB / 0.5677 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.8885, allocations: 39.91 kB / 0.5677 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.8886, allocations: 19.88 kB / 0.5677 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.8886, allocations: 11.98 kB / 0.5677 GB, free: 6.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.03e-05/0.8887, allocations: 79.28 kB / 0.5678 GB, free: 6.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8887, allocations: 0 / 0.5678 GB, free: 6.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002275/0.891, allocations: 0.6048 MB / 0.5684 GB, free: 6.289 MB / 378.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.006412/0.8974, allocations: 1.259 MB / 0.5696 GB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006439/0.8981, allocations: 173.5 kB / 0.5698 GB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.8981, allocations: 4 kB / 0.5698 GB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.8984, allocations: 91.22 kB / 0.5699 GB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.8986, allocations: 10.52 kB / 0.5699 GB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.9012, allocations: 420.9 kB / 0.5703 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.9016, allocations: 0.7056 MB / 0.571 GB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.9019, allocations: 59.14 kB / 0.571 GB, free: 3.609 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9019, allocations: 0 / 0.571 GB, free: 3.609 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.112/4.014, allocations: 14.91 MB / 0.5856 GB, free: 4.695 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat