Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001649/0.001649, allocations: 183.2 kB / 16.4 MB, free: 5.75 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.098/2.098, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001601/0.001601, allocations: 91.28 kB / 270.9 MB, free: 8.363 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.6527/0.6527, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004949, allocations: 16 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0008603/0.1532, allocations: 264.4 kB / 490.6 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1542, allocations: 390.2 kB / 490.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.1543, allocations: 0 / 490.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.1543, allocations: 0 / 490.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.711e-05/0.1544, allocations: 0 / 490.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.155, allocations: 107.7 kB / 491.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.1551, allocations: 15.97 kB / 491.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/0.1552, allocations: 4 kB / 491.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.1552, allocations: 15.94 kB / 491.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1553, allocations: 23.84 kB / 491.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1553, allocations: 4 kB / 491.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.1557, allocations: 147.8 kB / 491.3 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.1557, allocations: 7.938 kB / 491.3 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.1558, allocations: 37.64 kB / 491.3 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.156, allocations: 79.88 kB / 491.4 MB, free: 9.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.156, allocations: 0 / 491.4 MB, free: 9.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.156, allocations: 0 / 491.4 MB, free: 9.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1561, allocations: 0 / 491.4 MB, free: 9.824 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.0005567/0.1566, allocations: 355.5 kB / 491.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.1567, allocations: 12.03 kB / 491.7 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.1568, allocations: 34.56 kB / 491.8 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.1568, allocations: 11.86 kB / 491.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.157, allocations: 171 kB / 492 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.157, allocations: 4 kB / 492 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.1571, allocations: 11.94 kB / 492 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1572, allocations: 65.67 kB / 492 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1573, allocations: 0 / 492 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.1573, allocations: 4 kB / 492 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1573, allocations: 4 kB / 492 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1575, allocations: 43.91 kB / 492.1 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.1577, allocations: 177.6 kB / 492.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.158, allocations: 94.41 kB / 492.3 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/0.1584, allocations: 109.1 kB / 492.5 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1585, allocations: 30.56 kB / 492.5 MB, free: 8.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.1585, allocations: 4 kB / 492.5 MB, free: 8.527 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.3295/0.488, allocations: 5.838 MB / 498.3 MB, free: 2.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.4882, allocations: 51.41 kB / 498.4 MB, free: 2.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.4883, allocations: 97.84 kB / 498.5 MB, free: 2.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.4884, allocations: 33.83 kB / 498.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.4885, allocations: 150.9 kB / 498.7 MB, free: 2.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.4887, allocations: 74.86 kB / 498.7 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.4888, allocations: 0 / 498.7 MB, free: 2.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.489, allocations: 322.8 kB / 499 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.4901, allocations: 131.9 kB / 499.2 MB, free: 1.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.4911, allocations: 139.9 kB / 499.3 MB, free: 1.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.4933, allocations: 183.7 kB / 499.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4933, allocations: 0 / 499.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003288/0.4967, allocations: 409.7 kB / 499.9 MB, free: 1.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.4968, allocations: 4 kB / 499.9 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.4968, allocations: 3.953 kB / 499.9 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.4968, allocations: 0 / 499.9 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4981, allocations: 91.92 kB / 500 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.4982, allocations: 3.938 kB / 500 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.4987, allocations: 43.95 kB / 0.4883 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.4988, allocations: 15.98 kB / 0.4883 GB, free: 0.8828 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.0002426/0.4991, allocations: 117.8 kB / 0.4884 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.4992, allocations: 7.906 kB / 0.4884 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/0.5033, allocations: 489.8 kB / 0.4889 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.5033, allocations: 11.89 kB / 0.4889 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5034, allocations: 0 / 0.4889 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.5034, allocations: 0 / 0.4889 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4306/0.934, allocations: 0.8642 MB / 0.4898 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.934, allocations: 0 / 0.4898 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.9347, allocations: 86.84 kB / 0.4899 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.9347, allocations: 1 kB / 0.4899 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.9348, allocations: 18.95 kB / 0.4899 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.9348, allocations: 1.844 kB / 0.4899 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9348, allocations: 1.094 kB / 0.4899 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.9371, allocations: 499.1 kB / 0.4903 GB, free: 41.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.9373, allocations: 85.61 kB / 0.4904 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.9373, allocations: 1.984 kB / 0.4904 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.9377, allocations: 40.59 kB / 0.4905 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.9378, allocations: 17.06 kB / 0.4905 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.9378, allocations: 16.67 kB / 0.4905 GB, free: 41.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.619e-05/0.9379, allocations: 75.28 kB / 0.4906 GB, free: 41.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9379, allocations: 8.562 kB / 0.4906 GB, free: 41.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002761/0.9406, allocations: 0.6272 MB / 0.4912 GB, free: 41.13 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.007922/0.9486, allocations: 1.359 MB / 0.4925 GB, free: 40.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.9504, allocations: 307.8 kB / 0.4928 GB, free: 40.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9504, allocations: 0 / 0.4928 GB, free: 40.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007249/0.9511, allocations: 152.5 kB / 0.493 GB, free: 40.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.9514, allocations: 11.28 kB / 0.493 GB, free: 40.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.9546, allocations: 0.5175 MB / 0.4935 GB, free: 40.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.9548, allocations: 0.6997 MB / 0.4942 GB, free: 39.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.9551, allocations: 56.22 kB / 0.4942 GB, free: 39.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.9551, allocations: 1.281 kB / 0.4942 GB, free: 39.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.277/4.232, allocations: 16.84 MB / 0.5107 GB, free: 36.66 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat