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.002383/0.002382, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.00109, allocations: 87.38 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2853/0.2853, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.93e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.445, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.6042, allocations: 83.91 MB / 0.5479 GB, free: 15.29 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.6045, allocations: 67.91 kB / 0.548 GB, free: 15.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01947/0.624, allocations: 3.139 MB / 0.5511 GB, free: 12.09 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6241, allocations: 0 / 0.5511 GB, free: 12.09 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.6241, allocations: 0 / 0.5511 GB, free: 12.09 MB / 395.1 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.0006796/0.6248, allocations: 374.3 kB / 0.5514 GB, free: 11.68 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.6249, allocations: 8.031 kB / 0.5514 GB, free: 11.67 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.625, allocations: 8.531 kB / 0.5514 GB, free: 11.66 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.6252, allocations: 167 kB / 0.5516 GB, free: 11.46 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.6252, allocations: 0 / 0.5516 GB, free: 11.46 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.6253, allocations: 8 kB / 0.5516 GB, free: 11.45 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000198/0.6255, allocations: 35.97 kB / 0.5516 GB, free: 11.41 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.6257, allocations: 58.92 kB / 0.5517 GB, free: 11.35 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.6258, allocations: 0 / 0.5517 GB, free: 11.35 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.6258, allocations: 0 / 0.5517 GB, free: 11.35 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.6258, allocations: 4 kB / 0.5517 GB, free: 11.35 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.6261, allocations: 154 kB / 0.5519 GB, free: 11.16 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.6264, allocations: 78.44 kB / 0.5519 GB, free: 11.07 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.6265, allocations: 29.23 kB / 0.552 GB, free: 11.04 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007446/0.6273, allocations: 113.1 kB / 0.5521 GB, free: 10.91 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.47e-05/0.6274, allocations: 34.56 kB / 0.5521 GB, free: 10.87 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-05/0.6274, allocations: 7.922 kB / 0.5521 GB, free: 10.86 MB / 395.1 MB Notification: Performance of matching and sorting (n=23): time 0.2482/0.8757, allocations: 5.118 MB / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.8758, allocations: 59.27 kB / 0.5572 GB, free: 5.637 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.8759, allocations: 93 kB / 0.5572 GB, free: 5.539 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.8759, allocations: 25.7 kB / 0.5573 GB, free: 5.508 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.876, allocations: 150.9 kB / 0.5574 GB, free: 5.355 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.8761, allocations: 74.91 kB / 0.5575 GB, free: 5.281 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.8762, allocations: 3.938 kB / 0.5575 GB, free: 5.277 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8763, allocations: 318.8 kB / 0.5578 GB, free: 4.957 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.8765, allocations: 63.98 kB / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.8767, allocations: 63.98 kB / 0.5579 GB, free: 4.832 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.8785, allocations: 199.9 kB / 0.5581 GB, free: 4.637 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8785, allocations: 0 / 0.5581 GB, free: 4.637 MB / 395.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002167/0.8807, allocations: 345.2 kB / 0.5584 GB, free: 4.293 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.8808, allocations: 4 kB / 0.5584 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.8808, allocations: 0 / 0.5584 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8808, allocations: 0 / 0.5584 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.8815, allocations: 99.84 kB / 0.5585 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8816, allocations: 0 / 0.5585 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.882, allocations: 39.86 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.882, allocations: 19.98 kB / 0.5586 GB, free: 4.133 MB / 395.1 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.0001393/0.8822, allocations: 112.9 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002176/0.8844, allocations: 349.8 kB / 0.559 GB, free: 3.668 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.8844, allocations: 7.906 kB / 0.559 GB, free: 3.66 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.887, allocations: 409.9 kB / 0.5594 GB, free: 3.254 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.887, allocations: 7.953 kB / 0.5594 GB, free: 3.246 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.887, allocations: 0 / 0.5594 GB, free: 3.246 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.887, allocations: 7.984 kB / 0.5594 GB, free: 3.238 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.891, allocations: 0.7729 MB / 0.5602 GB, free: 2.418 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.8911, allocations: 0 / 0.5602 GB, free: 2.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.8917, allocations: 91.98 kB / 0.5603 GB, free: 2.328 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.8917, allocations: 0 / 0.5603 GB, free: 2.328 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.8917, allocations: 15.98 kB / 0.5603 GB, free: 2.312 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.8918, allocations: 0 / 0.5603 GB, free: 2.312 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.8918, allocations: 4 kB / 0.5603 GB, free: 2.309 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.8939, allocations: 440 kB / 0.5607 GB, free: 1.844 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.894, allocations: 85.02 kB / 0.5608 GB, free: 1.742 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.894, allocations: 3.984 kB / 0.5608 GB, free: 1.738 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.8944, allocations: 35.97 kB / 0.5608 GB, free: 1.703 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.8945, allocations: 19.94 kB / 0.5609 GB, free: 1.684 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.8945, allocations: 15.98 kB / 0.5609 GB, free: 1.668 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.8946, allocations: 79.28 kB / 0.561 GB, free: 1.59 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8946, allocations: 0 / 0.561 GB, free: 1.59 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002307/0.8969, allocations: 0.6051 MB / 0.5615 GB, free: 0.9844 MB / 395.1 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.007055/0.904, allocations: 1.332 MB / 0.5628 GB, free: 15.61 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.9046, allocations: 160 kB / 0.563 GB, free: 15.45 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9047, allocations: 0 / 0.563 GB, free: 15.45 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.9049, allocations: 87.84 kB / 0.5631 GB, free: 15.37 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.9051, allocations: 3.938 kB / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.9076, allocations: 409.3 kB / 0.5635 GB, free: 14.91 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.908, allocations: 0.7014 MB / 0.5642 GB, free: 14.18 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.9083, allocations: 59.64 kB / 0.5642 GB, free: 14.12 MB / 411.1 MB Notification: Performance of SimCode: time 1.002e-06/0.9083, allocations: 0 / 0.5642 GB, free: 14.12 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.019/3.927, allocations: 15.9 MB / 0.5798 GB, free: 14.2 MB / 427.1 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