Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_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.001526/0.001526, allocations: 183.4 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.611/1.611, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008725/0.0008724, allocations: 94.53 kB / 267 MB, free: 9.285 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.4452/0.4452, allocations: 43.46 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.36e-05/4.383e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5582, allocations: 84 MB / 0.5549 GB, free: 19.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5584, allocations: 66.92 kB / 0.555 GB, free: 19.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002581/0.561, allocations: 0.9062 MB / 0.5559 GB, free: 18.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.561, allocations: 0 / 0.5559 GB, free: 18.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.5611, allocations: 0.5 kB / 0.5559 GB, free: 18.38 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002558/0.5613, allocations: 339.6 kB / 0.5562 GB, free: 18.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5614, allocations: 8.031 kB / 0.5562 GB, free: 18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.5614, allocations: 31.83 kB / 0.5562 GB, free: 17.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.5615, allocations: 9.719 kB / 0.5563 GB, free: 17.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.5616, allocations: 167.8 kB / 0.5564 GB, free: 17.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.5616, allocations: 11.88 kB / 0.5564 GB, free: 17.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.5616, allocations: 0 / 0.5564 GB, free: 17.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5618, allocations: 58 kB / 0.5565 GB, free: 17.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5618, allocations: 0 / 0.5565 GB, free: 17.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5619, allocations: 4.438 kB / 0.5565 GB, free: 17.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5619, allocations: 5.375 kB / 0.5565 GB, free: 17.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.562, allocations: 50.25 kB / 0.5565 GB, free: 17.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.5622, allocations: 173.8 kB / 0.5567 GB, free: 17.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.5623, allocations: 70.88 kB / 0.5568 GB, free: 17.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.5624, allocations: 29.89 kB / 0.5568 GB, free: 17.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.5627, allocations: 253.1 kB / 0.557 GB, free: 17.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5627, allocations: 38.03 kB / 0.5571 GB, free: 17.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5627, allocations: 0 / 0.5571 GB, free: 17.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001931/0.5629, allocations: 75.14 kB / 0.5571 GB, free: 16.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.563, allocations: 56.25 kB / 0.5572 GB, free: 16.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.563, allocations: 96.56 kB / 0.5573 GB, free: 16.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.563, allocations: 25.7 kB / 0.5573 GB, free: 16.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.031e-05/0.5631, allocations: 80.89 kB / 0.5574 GB, free: 16.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.5631, allocations: 36.31 kB / 0.5574 GB, free: 16.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.5631, allocations: 3.438 kB / 0.5574 GB, free: 16.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.5632, allocations: 320.2 kB / 0.5577 GB, free: 16.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.5632, allocations: 15.64 kB / 0.5578 GB, free: 16.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.5633, allocations: 19.31 kB / 0.5578 GB, free: 16.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.5633, allocations: 18.31 kB / 0.5578 GB, free: 16.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5633, allocations: 0 / 0.5578 GB, free: 16.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001005/0.5634, allocations: 78.7 kB / 0.5579 GB, free: 16.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5634, allocations: 4 kB / 0.5579 GB, free: 16.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.5634, allocations: 0 / 0.5579 GB, free: 16.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.5635, allocations: 4.797 kB / 0.5579 GB, free: 16.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.5636, allocations: 17.3 kB / 0.5579 GB, free: 16.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5636, allocations: 1.5 kB / 0.5579 GB, free: 16.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.5636, allocations: 0.75 kB / 0.5579 GB, free: 16.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.5636, allocations: 4 kB / 0.5579 GB, free: 16.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 () * 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 5.764e-05/0.5637, allocations: 118.5 kB / 0.558 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.5637, allocations: 7.906 kB / 0.558 GB, free: 16.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.5639, allocations: 95.42 kB / 0.5581 GB, free: 16.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5639, allocations: 4 kB / 0.5581 GB, free: 16.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5639, allocations: 0 / 0.5581 GB, free: 16.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5639, allocations: 0.7031 kB / 0.5581 GB, free: 16.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.564, allocations: 185.4 kB / 0.5583 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.564, allocations: 480 / 0.5583 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.5641, allocations: 17.97 kB / 0.5583 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5641, allocations: 0.6562 kB / 0.5583 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.5641, allocations: 0 / 0.5583 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5641, allocations: 4.656 kB / 0.5583 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5641, allocations: 4.484 kB / 0.5583 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.5643, allocations: 103.5 kB / 0.5584 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.5643, allocations: 85.77 kB / 0.5585 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.5643, allocations: 0.7031 kB / 0.5585 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.5643, allocations: 7.188 kB / 0.5585 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.5644, allocations: 9.953 kB / 0.5585 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.5644, allocations: 4 kB / 0.5585 GB, free: 15.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.031e-05/0.5644, allocations: 76.08 kB / 0.5586 GB, free: 15.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5644, allocations: 0 / 0.5586 GB, free: 15.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.5646, allocations: 23 kB / 0.5586 GB, free: 15.48 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 () * 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.000355/0.565, allocations: 0.6641 MB / 0.5593 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.5651, allocations: 51.42 kB / 0.5593 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5651, allocations: 0 / 0.5593 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.5652, allocations: 27.62 kB / 0.5593 GB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.614e-05/0.5653, allocations: 4 kB / 0.5593 GB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.5656, allocations: 139.7 kB / 0.5595 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.5658, allocations: 0.6861 MB / 0.5601 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.5658, allocations: 8.703 kB / 0.5601 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.5658, allocations: 16 kB / 0.5602 GB, free: 13.89 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5658, allocations: 3.938 kB / 0.5602 GB, free: 13.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.5767, allocations: 1.353 MB / 0.5615 GB, free: 13.07 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.5769, allocations: 159.8 kB / 0.5616 GB, free: 12.85 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.162, allocations: 0.625 kB / 0.5616 GB, free: 12.85 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat