Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.0009188, allocations: 97.36 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1958/0.1958, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.653e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.4787, allocations: 85.69 MB / 0.5785 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.479, allocations: 67.97 kB / 0.5785 GB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02705/0.506, allocations: 8.285 MB / 0.5866 GB, free: 2.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5061, allocations: 0 / 0.5866 GB, free: 2.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.5061, allocations: 0 / 0.5866 GB, free: 2.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003765/0.5065, allocations: 350.3 kB / 0.5869 GB, free: 1.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.5066, allocations: 11.98 kB / 0.587 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.5066, allocations: 4 kB / 0.587 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.5067, allocations: 159.1 kB / 0.5871 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.5067, allocations: 0 / 0.5871 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.5068, allocations: 3.953 kB / 0.5871 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.516e-05/0.5069, allocations: 8 kB / 0.5871 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.055e-05/0.507, allocations: 37.69 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.507, allocations: 0 / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.507, allocations: 4 kB / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.507, allocations: 0 / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.5074, allocations: 225.4 kB / 0.5874 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.5074, allocations: 14.58 kB / 0.5874 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.5074, allocations: 12.86 kB / 0.5874 GB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.5075, allocations: 8.047 kB / 0.5874 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.5075, allocations: 30.56 kB / 0.5874 GB, free: 1.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5075, allocations: 0 / 0.5874 GB, free: 1.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000179/0.5077, allocations: 33.7 kB / 0.5875 GB, free: 1.281 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.5077, allocations: 51.41 kB / 0.5875 GB, free: 1.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.5078, allocations: 88.98 kB / 0.5876 GB, free: 1.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5078, allocations: 33.8 kB / 0.5876 GB, free: 1.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.5079, allocations: 92.05 kB / 0.5877 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.5079, allocations: 3.906 kB / 0.5877 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.5079, allocations: 0 / 0.5877 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.508, allocations: 310.8 kB / 0.588 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.5081, allocations: 4 kB / 0.588 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.5081, allocations: 18.58 kB / 0.588 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.5082, allocations: 11.98 kB / 0.5881 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5082, allocations: 3.938 kB / 0.5881 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.526e-05/0.5083, allocations: 49.59 kB / 0.5881 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5083, allocations: 5.406 kB / 0.5881 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5083, allocations: 0 / 0.5881 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5083, allocations: 4 kB / 0.5881 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.749e-05/0.5084, allocations: 7.984 kB / 0.5881 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.5084, allocations: 0 / 0.5881 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.5084, allocations: 4.094 kB / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5084, allocations: 4 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.678e-05/0.5085, allocations: 102.4 kB / 0.5882 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.847e-05/0.5086, allocations: 41.59 kB / 0.5883 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.5086, allocations: 4 kB / 0.5883 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.5088, allocations: 53.41 kB / 0.5883 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5088, allocations: 4.062 kB / 0.5883 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5088, allocations: 3.938 kB / 0.5883 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5088, allocations: 0 / 0.5883 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.5089, allocations: 130.2 kB / 0.5885 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5089, allocations: 3.953 kB / 0.5885 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.509, allocations: 0 / 0.5885 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.509, allocations: 0 / 0.5885 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.509, allocations: 8 kB / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.509, allocations: 0 / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.509, allocations: 0 / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.5091, allocations: 135.5 kB / 0.5886 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.5092, allocations: 88.95 kB / 0.5887 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.5092, allocations: 0 / 0.5887 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.5092, allocations: 4 kB / 0.5887 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.5093, allocations: 0 / 0.5887 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.5093, allocations: 0 / 0.5887 GB, free: 15.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.358e-05/0.5093, allocations: 75.28 kB / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5093, allocations: 128 / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.5097, allocations: 51.92 kB / 0.5888 GB, free: 15.77 MB / 410.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005818/0.5103, allocations: 0.7123 MB / 0.5895 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.568e-05/0.5104, allocations: 33.7 kB / 0.5895 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5104, allocations: 4.156 kB / 0.5895 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.5104, allocations: 33.7 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.5106, allocations: 0 / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.511, allocations: 101.6 kB / 0.5897 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.5113, allocations: 0.6768 MB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.189e-05/0.5114, allocations: 0 / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.5114, allocations: 11.44 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5114, allocations: 3.938 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.532, allocations: 1.133 MB / 0.5914 GB, free: 12.97 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.5322, allocations: 147.3 kB / 0.5916 GB, free: 12.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.964, allocations: 0 / 0.5916 GB, free: 12.77 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat