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.001379/0.001379, allocations: 183.3 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.671/1.671, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001096/0.001096, allocations: 98.84 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.2148/0.2148, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005514, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1665, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4022/0.5687, allocations: 84.1 MB / 0.561 GB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.569, allocations: 66.75 kB / 0.561 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002627/0.5716, allocations: 0.8964 MB / 0.5619 GB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5716, allocations: 0 / 0.5619 GB, free: 14.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.5717, allocations: 3.938 kB / 0.5619 GB, free: 14.71 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.000318/0.572, allocations: 347.6 kB / 0.5623 GB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.5721, allocations: 8.031 kB / 0.5623 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.5721, allocations: 41.69 kB / 0.5623 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.5721, allocations: 4.125 kB / 0.5623 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.5723, allocations: 167 kB / 0.5625 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.5723, allocations: 7.984 kB / 0.5625 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.5723, allocations: 7.312 kB / 0.5625 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.5725, allocations: 52.17 kB / 0.5625 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5725, allocations: 7.938 kB / 0.5625 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5725, allocations: 3.562 kB / 0.5625 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5725, allocations: 0 / 0.5625 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.5726, allocations: 47.02 kB / 0.5626 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.5728, allocations: 179.8 kB / 0.5628 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.573, allocations: 67.31 kB / 0.5628 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.5733, allocations: 255.6 kB / 0.5631 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.5733, allocations: 38.5 kB / 0.5631 GB, free: 13.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.5733, allocations: 0 / 0.5631 GB, free: 13.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002245/0.5736, allocations: 99.86 kB / 0.5632 GB, free: 13.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.5736, allocations: 55.41 kB / 0.5632 GB, free: 13.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.5737, allocations: 85 kB / 0.5633 GB, free: 13.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5737, allocations: 25.7 kB / 0.5634 GB, free: 13.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.5738, allocations: 84.12 kB / 0.5634 GB, free: 12.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.5738, allocations: 42.27 kB / 0.5635 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.5738, allocations: 4 kB / 0.5635 GB, free: 12.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.574, allocations: 314.9 kB / 0.5638 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.574, allocations: 15.8 kB / 0.5638 GB, free: 12.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.574, allocations: 19.75 kB / 0.5638 GB, free: 12.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.5741, allocations: 18.45 kB / 0.5638 GB, free: 12.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5741, allocations: 0 / 0.5638 GB, free: 12.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001161/0.5742, allocations: 83.8 kB / 0.5639 GB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5742, allocations: 10.66 kB / 0.5639 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5743, allocations: 0 / 0.5639 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5743, allocations: 4 kB / 0.5639 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.5744, allocations: 19.44 kB / 0.5639 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5744, allocations: 0 / 0.5639 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.5744, allocations: 11.73 kB / 0.564 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.5745, allocations: 0.9375 kB / 0.564 GB, free: 12.48 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 (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 8.942e-05/0.5745, allocations: 124.5 kB / 0.5641 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.5746, allocations: 0 / 0.5641 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.5748, allocations: 109.3 kB / 0.5642 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.5748, allocations: 4 kB / 0.5642 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.5748, allocations: 0 / 0.5642 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5748, allocations: 0 / 0.5642 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.5749, allocations: 172.9 kB / 0.5643 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.575, allocations: 3.953 kB / 0.5643 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.575, allocations: 12 kB / 0.5644 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.575, allocations: 0 / 0.5644 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.575, allocations: 384 / 0.5644 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.5751, allocations: 4 kB / 0.5644 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5751, allocations: 0 / 0.5644 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.5752, allocations: 114 kB / 0.5645 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.5753, allocations: 92.53 kB / 0.5646 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.5753, allocations: 0 / 0.5646 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.5753, allocations: 0 / 0.5646 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.5753, allocations: 11.92 kB / 0.5646 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.5754, allocations: 3.75 kB / 0.5646 GB, free: 11.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.842e-05/0.5754, allocations: 79.28 kB / 0.5647 GB, free: 11.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5754, allocations: 4.094 kB / 0.5647 GB, free: 11.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.5756, allocations: 19.94 kB / 0.5647 GB, free: 11.69 MB / 378.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.0004949/0.5761, allocations: 0.6609 MB / 0.5653 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.5763, allocations: 49.48 kB / 0.5654 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5763, allocations: 0 / 0.5654 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.5764, allocations: 30.86 kB / 0.5654 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.5765, allocations: 7 kB / 0.5654 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.5769, allocations: 183.8 kB / 0.5656 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.5772, allocations: 0.6848 MB / 0.5662 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.5772, allocations: 11.98 kB / 0.5663 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.5773, allocations: 11.44 kB / 0.5663 GB, free: 10.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5773, allocations: 3.938 kB / 0.5663 GB, free: 10.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.5906, allocations: 1.32 MB / 0.5676 GB, free: 8.746 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/0.5909, allocations: 195.9 kB / 0.5677 GB, free: 8.492 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.216, allocations: 0 / 0.5677 GB, free: 8.492 MB / 378.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