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.001427/0.001428, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.634/1.634, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001079/0.001078, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2649/0.2649, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003177, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.5111, allocations: 84.67 MB / 0.5615 GB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.5114, allocations: 63.59 kB / 0.5616 GB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009731/0.5211, allocations: 3.159 MB / 0.5647 GB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5212, allocations: 0 / 0.5647 GB, free: 12.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.5212, allocations: 4 kB / 0.5647 GB, free: 12.26 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003964/0.5216, allocations: 370.2 kB / 0.565 GB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.5217, allocations: 12.03 kB / 0.565 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.552e-05/0.5218, allocations: 46.8 kB / 0.5651 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.5218, allocations: 8.484 kB / 0.5651 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.522, allocations: 167 kB / 0.5653 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.522, allocations: 0 / 0.5653 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.5221, allocations: 7.438 kB / 0.5653 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.5222, allocations: 64.84 kB / 0.5653 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5223, allocations: 3.562 kB / 0.5653 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5223, allocations: 0 / 0.5653 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.5223, allocations: 0 / 0.5653 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.5224, allocations: 58.77 kB / 0.5654 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.5227, allocations: 184.3 kB / 0.5656 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.5229, allocations: 83.92 kB / 0.5656 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002992/0.5232, allocations: 109.1 kB / 0.5657 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5232, allocations: 34.56 kB / 0.5658 GB, free: 11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.5232, allocations: 0 / 0.5658 GB, free: 11 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1223/0.6456, allocations: 5.529 MB / 0.5712 GB, free: 5.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.6457, allocations: 67.2 kB / 0.5712 GB, free: 5.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.6457, allocations: 96.42 kB / 0.5713 GB, free: 5.371 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.6458, allocations: 29.7 kB / 0.5714 GB, free: 5.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.6458, allocations: 84.02 kB / 0.5714 GB, free: 5.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.6459, allocations: 73.78 kB / 0.5715 GB, free: 5.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.6459, allocations: 3.312 kB / 0.5715 GB, free: 5.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6461, allocations: 322.5 kB / 0.5718 GB, free: 4.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.6464, allocations: 137 kB / 0.572 GB, free: 4.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.6468, allocations: 136.6 kB / 0.5721 GB, free: 4.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/0.6475, allocations: 180.1 kB / 0.5723 GB, free: 4.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6476, allocations: 3.938 kB / 0.5723 GB, free: 4.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001176/0.6487, allocations: 403.7 kB / 0.5726 GB, free: 4.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.6488, allocations: 8 kB / 0.5727 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.6488, allocations: 0 / 0.5727 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6488, allocations: 0 / 0.5727 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.6492, allocations: 95.81 kB / 0.5727 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6492, allocations: 0 / 0.5727 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.6495, allocations: 43.89 kB / 0.5728 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.6495, allocations: 11.98 kB / 0.5728 GB, free: 3.984 MB / 378.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 () * Number of clocked 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.0001104/0.6496, allocations: 125.6 kB / 0.5729 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.6497, allocations: 11.91 kB / 0.5729 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.6511, allocations: 486.8 kB / 0.5734 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6512, allocations: 4 kB / 0.5734 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.6512, allocations: 3.953 kB / 0.5734 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6512, allocations: 0 / 0.5734 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.6536, allocations: 0.86 MB / 0.5742 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.6536, allocations: 0 / 0.5742 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.654, allocations: 87.62 kB / 0.5743 GB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.654, allocations: 4 kB / 0.5743 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.654, allocations: 11.98 kB / 0.5743 GB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.654, allocations: 4.031 kB / 0.5743 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.654, allocations: 3.938 kB / 0.5743 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.6552, allocations: 0.4924 MB / 0.5748 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.6553, allocations: 84.58 kB / 0.5749 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.6553, allocations: 4 kB / 0.5749 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.6555, allocations: 39.52 kB / 0.575 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.6556, allocations: 23.56 kB / 0.575 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.6556, allocations: 11.98 kB / 0.575 GB, free: 1.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.714e-05/0.6557, allocations: 79.28 kB / 0.5751 GB, free: 1.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6557, allocations: 0 / 0.5751 GB, free: 1.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001816/0.6575, allocations: 0.6122 MB / 0.5757 GB, free: 1.113 MB / 378.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 () * Number of clocked 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.00451/0.662, allocations: 1.398 MB / 0.577 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.6628, allocations: 306.1 kB / 0.5773 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6629, allocations: 0 / 0.5773 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.6632, allocations: 154.3 kB / 0.5775 GB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.6634, allocations: 13.36 kB / 0.5775 GB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.6653, allocations: 0.531 MB / 0.578 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.6656, allocations: 0.7017 MB / 0.5787 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.6659, allocations: 81.08 kB / 0.5788 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.6661, allocations: 61.2 kB / 0.5788 GB, free: 13.91 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6661, allocations: 0 / 0.5788 GB, free: 13.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03909/0.7052, allocations: 18.12 MB / 0.5965 GB, free: 11.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.7054, allocations: 195.3 kB / 0.5967 GB, free: 11.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.465, allocations: 7.75 kB / 0.5967 GB, free: 11.59 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