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.00223/0.002235, allocations: 187.6 kB / 16.41 MB, free: 5.723 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.191/2.191, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001143/0.001143, allocations: 86.91 kB / 270.9 MB, free: 8.375 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.5108/0.5108, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004874, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1333, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.599, allocations: 84.66 MB / 0.5615 GB, free: 1.879 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.5993, allocations: 69.33 kB / 0.5616 GB, free: 1.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0157/0.615, allocations: 3.162 MB / 0.5647 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.44e-06/0.615, allocations: 4 kB / 0.5647 GB, free: 14.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.6151, allocations: 0 / 0.5647 GB, free: 14.68 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.0005425/0.6156, allocations: 375 kB / 0.565 GB, free: 14.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.6157, allocations: 8.031 kB / 0.565 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.6157, allocations: 50.48 kB / 0.5651 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.6158, allocations: 8.219 kB / 0.5651 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.616, allocations: 167 kB / 0.5652 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.616, allocations: 0 / 0.5652 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.616, allocations: 8 kB / 0.5652 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.6162, allocations: 61.67 kB / 0.5653 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.6163, allocations: 3.984 kB / 0.5653 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.6163, allocations: 5.031 kB / 0.5653 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.6163, allocations: 0 / 0.5653 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.6165, allocations: 47.89 kB / 0.5654 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.6167, allocations: 194.4 kB / 0.5655 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.617, allocations: 78.55 kB / 0.5656 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.6174, allocations: 109.1 kB / 0.5657 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.6174, allocations: 38.55 kB / 0.5658 GB, free: 13.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.6174, allocations: 3.656 kB / 0.5658 GB, free: 13.37 MB / 394.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.249/0.8665, allocations: 5.536 MB / 0.5712 GB, free: 7.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.8666, allocations: 63.2 kB / 0.5712 GB, free: 7.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/0.8667, allocations: 88.94 kB / 0.5713 GB, free: 7.641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.8667, allocations: 33.7 kB / 0.5713 GB, free: 7.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.8668, allocations: 150.9 kB / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.8669, allocations: 78.83 kB / 0.5716 GB, free: 7.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.867, allocations: 4 kB / 0.5716 GB, free: 7.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.8672, allocations: 322.8 kB / 0.5719 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/0.8679, allocations: 136 kB / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.8686, allocations: 135.9 kB / 0.5721 GB, free: 6.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.8701, allocations: 179.8 kB / 0.5723 GB, free: 6.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8701, allocations: 0 / 0.5723 GB, free: 6.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002354/0.8725, allocations: 398.4 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.8726, allocations: 8 kB / 0.5727 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8726, allocations: 0 / 0.5727 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.8726, allocations: 0 / 0.5727 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.8734, allocations: 103.8 kB / 0.5728 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.8734, allocations: 0 / 0.5728 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.8738, allocations: 35.97 kB / 0.5728 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.8739, allocations: 19.97 kB / 0.5729 GB, free: 6.043 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 () * 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.0001654/0.8741, allocations: 125.8 kB / 0.573 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.8741, allocations: 11.91 kB / 0.573 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.8769, allocations: 477.4 kB / 0.5734 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.877, allocations: 4 kB / 0.5734 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.877, allocations: 3.953 kB / 0.5734 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.877, allocations: 0 / 0.5734 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004264/0.8813, allocations: 0.8584 MB / 0.5743 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.8813, allocations: 4.062 kB / 0.5743 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.882, allocations: 91.86 kB / 0.5744 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.882, allocations: 4 kB / 0.5744 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.8821, allocations: 11.98 kB / 0.5744 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.8821, allocations: 4 kB / 0.5744 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8821, allocations: 3.938 kB / 0.5744 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.8845, allocations: 0.4994 MB / 0.5749 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.8846, allocations: 81.02 kB / 0.575 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.8847, allocations: 4 kB / 0.575 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.8851, allocations: 35.97 kB / 0.575 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.8852, allocations: 23.94 kB / 0.575 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.8852, allocations: 11.98 kB / 0.575 GB, free: 3.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.8853, allocations: 79.28 kB / 0.5751 GB, free: 3.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.8854, allocations: 0 / 0.5751 GB, free: 3.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002587/0.888, allocations: 0.609 MB / 0.5757 GB, free: 3 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 () * 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.007943/0.896, allocations: 1.405 MB / 0.5771 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.8978, allocations: 307.7 kB / 0.5774 GB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8978, allocations: 0 / 0.5774 GB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.8986, allocations: 155.9 kB / 0.5775 GB, free: 1.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.8988, allocations: 4.547 kB / 0.5775 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.9021, allocations: 0.5646 MB / 0.5781 GB, free: 492 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.9025, allocations: 0.7017 MB / 0.5788 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.9028, allocations: 55.89 kB / 0.5788 GB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.9028, allocations: 0 / 0.5788 GB, free: 15.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.998/3.901, allocations: 15.25 MB / 0.5937 GB, free: 468 kB / 410.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