Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_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.001455/0.001455, allocations: 182.8 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.539/1.539, 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.0008919/0.000892, allocations: 85.03 kB / 267 MB, free: 9.277 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.449/0.449, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.35e-05/4.398e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1839, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4932/0.6771, allocations: 84.57 MB / 0.5555 GB, free: 18.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.6774, allocations: 66.95 kB / 0.5556 GB, free: 18.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009399/0.6868, allocations: 3.151 MB / 0.5586 GB, free: 16.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.368e-06/0.6869, allocations: 0 / 0.5586 GB, free: 16.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.6869, allocations: 4 kB / 0.5586 GB, free: 16.73 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004121/0.6874, allocations: 371 kB / 0.559 GB, free: 16.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.137e-05/0.6874, allocations: 8.031 kB / 0.559 GB, free: 16.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.6875, allocations: 45.09 kB / 0.559 GB, free: 16.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.6875, allocations: 5.625 kB / 0.559 GB, free: 16.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6877, allocations: 164.2 kB / 0.5592 GB, free: 16.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.6877, allocations: 0 / 0.5592 GB, free: 16.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.6877, allocations: 7.938 kB / 0.5592 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.6879, allocations: 62.52 kB / 0.5593 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.6879, allocations: 9.125 kB / 0.5593 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.688, allocations: 4 kB / 0.5593 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.688, allocations: 8.5 kB / 0.5593 GB, free: 16.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.6881, allocations: 43.25 kB / 0.5593 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.6883, allocations: 183 kB / 0.5595 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.6885, allocations: 82.8 kB / 0.5596 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.6885, allocations: 29.36 kB / 0.5596 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.6887, allocations: 111.3 kB / 0.5597 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.6888, allocations: 34.5 kB / 0.5598 GB, free: 15.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.6888, allocations: 0 / 0.5598 GB, free: 15.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1203/0.8091, allocations: 4.975 MB / 0.5646 GB, free: 12.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.8092, allocations: 59.34 kB / 0.5647 GB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.8093, allocations: 85 kB / 0.5647 GB, free: 11.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.8093, allocations: 29.64 kB / 0.5648 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.8093, allocations: 80.52 kB / 0.5649 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.8094, allocations: 78.64 kB / 0.5649 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.8094, allocations: 3.625 kB / 0.5649 GB, free: 11.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.8095, allocations: 318.9 kB / 0.5652 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.8097, allocations: 71.36 kB / 0.5653 GB, free: 11.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.8098, allocations: 72.95 kB / 0.5654 GB, free: 11.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.8103, allocations: 112.7 kB / 0.5655 GB, free: 11.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.8103, allocations: 0 / 0.5655 GB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006801/0.811, allocations: 264.2 kB / 0.5657 GB, free: 11.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.811, allocations: 4 kB / 0.5657 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.811, allocations: 0 / 0.5657 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.811, allocations: 7.953 kB / 0.5657 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.8115, allocations: 99.66 kB / 0.5658 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.8115, allocations: 0 / 0.5658 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.8117, allocations: 40.59 kB / 0.5659 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.8117, allocations: 15.98 kB / 0.5659 GB, free: 10.89 MB / 394.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 8.766e-05/0.8118, allocations: 117.5 kB / 0.566 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.8118, allocations: 7.906 kB / 0.566 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009319/0.8128, allocations: 340.9 kB / 0.5663 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.8128, allocations: 4 kB / 0.5663 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.8128, allocations: 3.953 kB / 0.5663 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8128, allocations: 0 / 0.5663 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.8145, allocations: 0.7311 MB / 0.5671 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.8145, allocations: 7.938 kB / 0.5671 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.8148, allocations: 82.56 kB / 0.5671 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8148, allocations: 4 kB / 0.5672 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.8149, allocations: 15.17 kB / 0.5672 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.8149, allocations: 4.062 kB / 0.5672 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8149, allocations: 0 / 0.5672 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.8155, allocations: 362.2 kB / 0.5675 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.8156, allocations: 95.98 kB / 0.5676 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.8156, allocations: 11.31 kB / 0.5676 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.8158, allocations: 27.97 kB / 0.5676 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.8159, allocations: 19.19 kB / 0.5677 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.8159, allocations: 19.98 kB / 0.5677 GB, free: 9.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.625e-05/0.8159, allocations: 78.47 kB / 0.5678 GB, free: 9.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8159, allocations: 3.938 kB / 0.5678 GB, free: 9.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002372/0.8183, allocations: 0.6077 MB / 0.5684 GB, free: 8.422 MB / 394.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.003791/0.8221, allocations: 1.266 MB / 0.5696 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004001/0.8225, allocations: 171.1 kB / 0.5698 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8225, allocations: 0 / 0.5698 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.8227, allocations: 89.97 kB / 0.5698 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.8229, allocations: 7.125 kB / 0.5698 GB, free: 6.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.8243, allocations: 394.4 kB / 0.5702 GB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.8245, allocations: 0.7017 MB / 0.5709 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.8247, allocations: 78.08 kB / 0.571 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.8249, allocations: 57.39 kB / 0.571 GB, free: 5.707 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8249, allocations: 0 / 0.571 GB, free: 5.707 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/0.8661, allocations: 18.1 MB / 0.5887 GB, free: 3.676 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.8663, allocations: 166.4 kB / 0.5889 GB, free: 3.453 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.677, allocations: 0 / 0.5889 GB, free: 3.453 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat