Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.001554/0.001554, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.069/2.069, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001211/0.00121, allocations: 96.34 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5195/0.5195, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004819, allocations: 12 kB / 431.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.6088, allocations: 83.99 MB / 0.5608 GB, free: 2.418 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.6091, allocations: 70.98 kB / 0.5609 GB, free: 2.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001778/0.6109, allocations: 0.5629 MB / 0.5615 GB, free: 1.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6109, allocations: 0 / 0.5615 GB, free: 1.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.6109, allocations: 0 / 0.5615 GB, free: 1.793 MB / 378.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.0002763/0.6112, allocations: 331.8 kB / 0.5618 GB, free: 1.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6113, allocations: 8.031 kB / 0.5618 GB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.6113, allocations: 38.55 kB / 0.5618 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.6114, allocations: 5.469 kB / 0.5618 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.6115, allocations: 163.7 kB / 0.562 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6115, allocations: 0 / 0.562 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.6115, allocations: 12.62 kB / 0.562 GB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6116, allocations: 51.41 kB / 0.562 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.6117, allocations: 0 / 0.562 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.6117, allocations: 0 / 0.562 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6117, allocations: 3.125 kB / 0.562 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.6118, allocations: 20.47 kB / 0.5621 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.6121, allocations: 321.1 kB / 0.5624 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.6121, allocations: 26.58 kB / 0.5624 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.6122, allocations: 0 / 0.5624 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.6122, allocations: 30.56 kB / 0.5624 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.6122, allocations: 1.219 kB / 0.5624 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.6124, allocations: 61.62 kB / 0.5625 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.6125, allocations: 55.39 kB / 0.5625 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.65e-05/0.6125, allocations: 93 kB / 0.5626 GB, free: 424 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.6125, allocations: 29.7 kB / 0.5627 GB, free: 388 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.6126, allocations: 150.6 kB / 0.5628 GB, free: 236 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.6126, allocations: 15.75 kB / 0.5628 GB, free: 220 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.6126, allocations: 0 / 0.5628 GB, free: 220 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.6128, allocations: 322.8 kB / 0.5631 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.6128, allocations: 4 kB / 0.5631 GB, free: 15.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.6128, allocations: 21.84 kB / 0.5631 GB, free: 15.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.6129, allocations: 8 kB / 0.5632 GB, free: 15.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6129, allocations: 0 / 0.5632 GB, free: 15.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001394/0.6131, allocations: 60.44 kB / 0.5632 GB, free: 15.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6131, allocations: 4 kB / 0.5632 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6131, allocations: 0 / 0.5632 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6131, allocations: 7.984 kB / 0.5632 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.6132, allocations: 4 kB / 0.5632 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.6133, allocations: 0 / 0.5632 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.6133, allocations: 11.97 kB / 0.5632 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.6133, allocations: 0 / 0.5632 GB, free: 15.76 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 () * Number of clocked 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 9.757e-05/0.6134, allocations: 121.8 kB / 0.5634 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.6135, allocations: 3.906 kB / 0.5634 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.6136, allocations: 57.19 kB / 0.5634 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6137, allocations: 3.984 kB / 0.5634 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6137, allocations: 0 / 0.5634 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6137, allocations: 3.406 kB / 0.5634 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.6139, allocations: 165.6 kB / 0.5636 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6139, allocations: 8 kB / 0.5636 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.614, allocations: 12.98 kB / 0.5636 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.614, allocations: 0 / 0.5636 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.614, allocations: 0 / 0.5636 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.6141, allocations: 4 kB / 0.5636 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6141, allocations: 0 / 0.5636 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.6142, allocations: 148.6 kB / 0.5637 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.6143, allocations: 77.11 kB / 0.5638 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.6143, allocations: 12 kB / 0.5638 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.6144, allocations: 0 / 0.5638 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.6145, allocations: 3.984 kB / 0.5638 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.6145, allocations: 0 / 0.5638 GB, free: 15.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.6145, allocations: 79.28 kB / 0.5639 GB, free: 14.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6145, allocations: 0 / 0.5639 GB, free: 14.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.6148, allocations: 4.875 kB / 0.5639 GB, free: 14.98 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 () * Number of clocked 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.0005429/0.6154, allocations: 0.6996 MB / 0.5646 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.6156, allocations: 26.58 kB / 0.5646 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6156, allocations: 4 kB / 0.5646 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.6156, allocations: 11.94 kB / 0.5646 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.6158, allocations: 6.078 kB / 0.5646 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.6163, allocations: 177.7 kB / 0.5648 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.6166, allocations: 0.677 MB / 0.5655 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.6167, allocations: 15.44 kB / 0.5655 GB, free: 13.28 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6167, allocations: 0 / 0.5655 GB, free: 13.28 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.399/3.016, allocations: 0.7439 MB / 0.5662 GB, free: 12.55 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat