Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.001521/0.001521, allocations: 186 kB / 16.4 MB, free: 5.746 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.036/2.036, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001177/0.001176, allocations: 100.7 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.5313/0.5313, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006634/0.0006634, allocations: 16 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1378, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4738/0.6117, allocations: 84.1 MB / 0.561 GB, free: 2.578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.612, allocations: 63.97 kB / 0.561 GB, free: 2.516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003544/0.6155, allocations: 0.9061 MB / 0.5619 GB, free: 1.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6156, allocations: 0 / 0.5619 GB, free: 1.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.6156, allocations: 0 / 0.5619 GB, free: 1.621 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002691/0.6159, allocations: 344.8 kB / 0.5622 GB, free: 1.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6159, allocations: 12.03 kB / 0.5622 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.616, allocations: 30.56 kB / 0.5623 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.616, allocations: 9.469 kB / 0.5623 GB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.682e-05/0.6161, allocations: 167 kB / 0.5624 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.6161, allocations: 8 kB / 0.5624 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.6162, allocations: 0 / 0.5624 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.6163, allocations: 57.62 kB / 0.5625 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6163, allocations: 0 / 0.5625 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6164, allocations: 0 / 0.5625 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.6164, allocations: 7.984 kB / 0.5625 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.6165, allocations: 56.97 kB / 0.5626 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.6167, allocations: 177.5 kB / 0.5627 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.6169, allocations: 74.58 kB / 0.5628 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.6172, allocations: 247.3 kB / 0.563 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.6173, allocations: 38.56 kB / 0.5631 GB, free: 208 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.6173, allocations: 4 kB / 0.5631 GB, free: 204 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002701/0.6175, allocations: 93.8 kB / 0.5632 GB, free: 104 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.6176, allocations: 55.41 kB / 0.5632 GB, free: 36 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.6177, allocations: 89.56 kB / 0.5633 GB, free: 15.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.6177, allocations: 25.7 kB / 0.5633 GB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.6178, allocations: 150.6 kB / 0.5635 GB, free: 15.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.6179, allocations: 35.45 kB / 0.5635 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6179, allocations: 0 / 0.5635 GB, free: 15.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6181, allocations: 323 kB / 0.5638 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.6181, allocations: 18.61 kB / 0.5638 GB, free: 15.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/0.6182, allocations: 12 kB / 0.5638 GB, free: 15.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.653e-05/0.6183, allocations: 31.88 kB / 0.5639 GB, free: 15.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6183, allocations: 0 / 0.5639 GB, free: 15.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.6185, allocations: 77.69 kB / 0.5639 GB, free: 15.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6185, allocations: 4 kB / 0.564 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.6185, allocations: 3.062 kB / 0.564 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.6186, allocations: 4.875 kB / 0.564 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.6187, allocations: 15.94 kB / 0.564 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6188, allocations: 7.984 kB / 0.564 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.6188, allocations: 3.906 kB / 0.564 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.6188, allocations: 5.031 kB / 0.564 GB, free: 15.22 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 (10): * Single equations (assignments): 10 * 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.0001071/0.6189, allocations: 117.8 kB / 0.5641 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.619, allocations: 4 kB / 0.5641 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.6193, allocations: 98.77 kB / 0.5642 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6193, allocations: 0 / 0.5642 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6193, allocations: 8.75 kB / 0.5642 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6193, allocations: 0 / 0.5642 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.6195, allocations: 176.7 kB / 0.5644 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6195, allocations: 3.953 kB / 0.5644 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.6197, allocations: 23.94 kB / 0.5644 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6197, allocations: 0 / 0.5644 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.6197, allocations: 3.984 kB / 0.5644 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6197, allocations: 0 / 0.5644 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6197, allocations: 3.938 kB / 0.5644 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.6199, allocations: 109.1 kB / 0.5645 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.62, allocations: 81.06 kB / 0.5646 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.62, allocations: 8 kB / 0.5646 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.6201, allocations: 3.984 kB / 0.5646 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.6201, allocations: 4 kB / 0.5646 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.6201, allocations: 0 / 0.5646 GB, free: 14.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.6202, allocations: 75.28 kB / 0.5647 GB, free: 14.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6202, allocations: 0 / 0.5647 GB, free: 14.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002708/0.6205, allocations: 23.94 kB / 0.5647 GB, free: 14.4 MB / 394.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 (10): * Single equations (assignments): 10 * 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.0006829/0.6212, allocations: 0.6637 MB / 0.5654 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.6214, allocations: 52.47 kB / 0.5654 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6214, allocations: 0 / 0.5654 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.6215, allocations: 35.92 kB / 0.5654 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.6216, allocations: 4.562 kB / 0.5654 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.6222, allocations: 208.6 kB / 0.5656 GB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.6226, allocations: 0.6848 MB / 0.5663 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.6226, allocations: 19.44 kB / 0.5663 GB, free: 12.64 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6227, allocations: 0 / 0.5663 GB, free: 12.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.322/2.944, allocations: 1.009 MB / 0.5673 GB, free: 11.64 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat