Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_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.002048/0.002048, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007528/0.0007526, allocations: 91.66 kB / 267.1 MB, free: 9.289 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.3774/0.3774, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.339e-05, allocations: 4 kB / 425.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 58.85 MB / 484.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4437/0.5731, allocations: 83.9 MB / 0.5548 GB, free: 19.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5734, allocations: 59.7 kB / 0.5549 GB, free: 19.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001433/0.5748, allocations: 0.5706 MB / 0.5555 GB, free: 18.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5748, allocations: 0 / 0.5555 GB, free: 18.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.5749, allocations: 0 / 0.5555 GB, free: 18.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002279/0.5751, allocations: 322.5 kB / 0.5558 GB, free: 18.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5752, allocations: 12.03 kB / 0.5558 GB, free: 18.28 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.5752, allocations: 38.98 kB / 0.5558 GB, free: 18.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.5752, allocations: 4.219 kB / 0.5558 GB, free: 18.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.5753, allocations: 160.5 kB / 0.556 GB, free: 18.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.5754, allocations: 4 kB / 0.556 GB, free: 18.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.5754, allocations: 7.172 kB / 0.556 GB, free: 18.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.5755, allocations: 54.86 kB / 0.556 GB, free: 17.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5755, allocations: 0 / 0.556 GB, free: 17.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5755, allocations: 7.875 kB / 0.556 GB, free: 17.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5755, allocations: 1.375 kB / 0.556 GB, free: 17.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.5756, allocations: 8.703 kB / 0.556 GB, free: 17.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.5758, allocations: 323.9 kB / 0.5564 GB, free: 17.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.5759, allocations: 27.06 kB / 0.5564 GB, free: 17.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.5759, allocations: 17.31 kB / 0.5564 GB, free: 17.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.576, allocations: 4 kB / 0.5564 GB, free: 17.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.576, allocations: 35.41 kB / 0.5564 GB, free: 17.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.576, allocations: 0 / 0.5564 GB, free: 17.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001394/0.5761, allocations: 48.17 kB / 0.5565 GB, free: 17.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.5762, allocations: 51.92 kB / 0.5565 GB, free: 17.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.5762, allocations: 93.45 kB / 0.5566 GB, free: 17.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.5762, allocations: 29.58 kB / 0.5567 GB, free: 17.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.5763, allocations: 84.83 kB / 0.5567 GB, free: 17.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.5763, allocations: 9.031 kB / 0.5567 GB, free: 17.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.5763, allocations: 0 / 0.5567 GB, free: 17.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.5763, allocations: 324 kB / 0.557 GB, free: 16.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.5764, allocations: 4 kB / 0.5571 GB, free: 16.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.5764, allocations: 18.45 kB / 0.5571 GB, free: 16.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.5764, allocations: 8.781 kB / 0.5571 GB, free: 16.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5764, allocations: 8 kB / 0.5571 GB, free: 16.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.331e-05/0.5765, allocations: 57.48 kB / 0.5571 GB, free: 16.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5765, allocations: 4 kB / 0.5571 GB, free: 16.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5765, allocations: 2.656 kB / 0.5571 GB, free: 16.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5766, allocations: 4 kB / 0.5572 GB, free: 16.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.5766, allocations: 5.406 kB / 0.5572 GB, free: 16.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5766, allocations: 0 / 0.5572 GB, free: 16.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.5767, allocations: 7.938 kB / 0.5572 GB, free: 16.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.5767, allocations: 0.6562 kB / 0.5572 GB, free: 16.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 () * 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 4.837e-05/0.5767, allocations: 115.1 kB / 0.5573 GB, free: 16.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.5768, allocations: 0.6562 kB / 0.5573 GB, free: 16.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.5769, allocations: 70.28 kB / 0.5573 GB, free: 16.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5769, allocations: 0.6562 kB / 0.5573 GB, free: 16.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5769, allocations: 0 / 0.5573 GB, free: 16.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5769, allocations: 0 / 0.5573 GB, free: 16.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.577, allocations: 165.5 kB / 0.5575 GB, free: 16.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.577, allocations: 0.875 kB / 0.5575 GB, free: 16.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.5771, allocations: 5.359 kB / 0.5575 GB, free: 16.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5771, allocations: 0 / 0.5575 GB, free: 16.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.5771, allocations: 8 kB / 0.5575 GB, free: 16.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5771, allocations: 0.75 kB / 0.5575 GB, free: 16.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5771, allocations: 0 / 0.5575 GB, free: 16.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.5772, allocations: 155 kB / 0.5577 GB, free: 16.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.5773, allocations: 85.66 kB / 0.5577 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.5773, allocations: 0.8906 kB / 0.5577 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.5773, allocations: 7.656 kB / 0.5578 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.5774, allocations: 1.406 kB / 0.5578 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.5774, allocations: 8.656 kB / 0.5578 GB, free: 16.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.808e-05/0.5774, allocations: 75.28 kB / 0.5578 GB, free: 16.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.5774, allocations: 0 / 0.5578 GB, free: 16.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.5776, allocations: 16.88 kB / 0.5579 GB, free: 16.02 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 () * 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.0002906/0.5779, allocations: 0.6884 MB / 0.5585 GB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.02e-05/0.578, allocations: 28.22 kB / 0.5585 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.578, allocations: 0 / 0.5585 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.5781, allocations: 15.69 kB / 0.5586 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.5782, allocations: 1.906 kB / 0.5586 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.5785, allocations: 102.2 kB / 0.5587 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.5786, allocations: 0.6808 MB / 0.5593 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.5787, allocations: 5.422 kB / 0.5593 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.5787, allocations: 12.23 kB / 0.5593 GB, free: 14.45 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5787, allocations: 0 / 0.5593 GB, free: 14.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.5925, allocations: 1.07 MB / 0.5604 GB, free: 13.81 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.5928, allocations: 169.2 kB / 0.5606 GB, free: 13.58 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.195, allocations: 0 / 0.5606 GB, free: 13.58 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat