Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.00171/0.00171, allocations: 176.4 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 106.5 kB / 292.1 MB, free: 10.91 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.4859/0.4859, allocations: 44.21 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003738, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4031, allocations: 61.91 MB / 0.5096 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.5317, allocations: 85.1 MB / 0.5927 GB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.532, allocations: 75.92 kB / 0.5928 GB, free: 9.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001448/0.5335, allocations: 0.5575 MB / 0.5934 GB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5335, allocations: 0 / 0.5934 GB, free: 9.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5335, allocations: 0 / 0.5934 GB, free: 9.402 MB / 410.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.0003141/0.5338, allocations: 335.3 kB / 0.5937 GB, free: 9.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5339, allocations: 12.03 kB / 0.5937 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.5339, allocations: 38.55 kB / 0.5937 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.5339, allocations: 3.938 kB / 0.5937 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.5341, allocations: 159.1 kB / 0.5939 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5341, allocations: 4 kB / 0.5939 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.5341, allocations: 7.953 kB / 0.5939 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.5342, allocations: 55.34 kB / 0.5939 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5343, allocations: 0 / 0.5939 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5343, allocations: 4 kB / 0.594 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.5343, allocations: 0 / 0.594 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.015e-05/0.5343, allocations: 19.97 kB / 0.594 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.5347, allocations: 325.1 kB / 0.5943 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.5348, allocations: 18.58 kB / 0.5943 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.5348, allocations: 0 / 0.5943 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.5348, allocations: 42.64 kB / 0.5943 GB, free: 8.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.5348, allocations: 0 / 0.5943 GB, free: 8.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001819/0.535, allocations: 57.53 kB / 0.5944 GB, free: 8.156 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.5351, allocations: 55.41 kB / 0.5944 GB, free: 8.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.5351, allocations: 92.94 kB / 0.5945 GB, free: 7.992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.5352, allocations: 25.7 kB / 0.5946 GB, free: 7.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.5352, allocations: 84.12 kB / 0.5946 GB, free: 7.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.5352, allocations: 15.75 kB / 0.5947 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.5352, allocations: 8.125 kB / 0.5947 GB, free: 7.852 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5354, allocations: 314.8 kB / 0.595 GB, free: 7.535 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.5354, allocations: 4 kB / 0.595 GB, free: 7.531 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.5354, allocations: 25.72 kB / 0.595 GB, free: 7.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.5355, allocations: 11.98 kB / 0.595 GB, free: 7.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5355, allocations: 0 / 0.595 GB, free: 7.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.008e-05/0.5356, allocations: 57.58 kB / 0.5951 GB, free: 7.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5356, allocations: 8.031 kB / 0.5951 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5356, allocations: 0 / 0.5951 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5356, allocations: 4 kB / 0.5951 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/0.5357, allocations: 4 kB / 0.5951 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5357, allocations: 4 kB / 0.5951 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.5358, allocations: 0 / 0.5951 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.5358, allocations: 4 kB / 0.5951 GB, free: 7.402 MB / 410.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 8.258e-05/0.5359, allocations: 114.3 kB / 0.5952 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.5359, allocations: 7.891 kB / 0.5952 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.536, allocations: 73.08 kB / 0.5953 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.536, allocations: 0 / 0.5953 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5361, allocations: 0 / 0.5953 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5361, allocations: 0 / 0.5953 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.5363, allocations: 157.7 kB / 0.5954 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5363, allocations: 0 / 0.5954 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.5363, allocations: 4 kB / 0.5954 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5363, allocations: 3.953 kB / 0.5954 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.5363, allocations: 4 kB / 0.5954 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5363, allocations: 0 / 0.5954 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5363, allocations: 0 / 0.5954 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.5365, allocations: 155.5 kB / 0.5956 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.5365, allocations: 77.11 kB / 0.5957 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5366, allocations: 7.953 kB / 0.5957 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.5366, allocations: 4.234 kB / 0.5957 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.5366, allocations: 0 / 0.5957 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.5367, allocations: 8 kB / 0.5957 GB, free: 6.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.5367, allocations: 79.28 kB / 0.5957 GB, free: 6.617 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5367, allocations: 0 / 0.5957 GB, free: 6.617 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.537, allocations: 8 kB / 0.5958 GB, free: 6.609 MB / 410.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.0004517/0.5374, allocations: 0.6889 MB / 0.5964 GB, free: 5.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.5375, allocations: 23.98 kB / 0.5965 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5376, allocations: 4.156 kB / 0.5965 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.42e-05/0.5376, allocations: 15.94 kB / 0.5965 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.5377, allocations: 9.312 kB / 0.5965 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.5381, allocations: 148.3 kB / 0.5966 GB, free: 5.656 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.5384, allocations: 0.6809 MB / 0.5973 GB, free: 4.949 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.5385, allocations: 4 kB / 0.5973 GB, free: 4.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.5385, allocations: 11.44 kB / 0.5973 GB, free: 4.934 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5385, allocations: 0 / 0.5973 GB, free: 4.934 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.5519, allocations: 1.057 MB / 0.5983 GB, free: 4.023 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/0.5522, allocations: 182.8 kB / 0.5985 GB, free: 3.789 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.154, allocations: 0 / 0.5985 GB, free: 3.789 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat