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.0019/0.0019, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.3 MB / 236 MB, free: 2.969 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.001049/0.001049, allocations: 91.98 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2384/0.2384, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.7e-05, allocations: 4 kB / 451.9 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 61.92 MB / 0.5018 GB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5585, allocations: 86.36 MB / 0.5861 GB, free: 2.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.559, allocations: 72.7 kB / 0.5862 GB, free: 2.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03865/0.5976, allocations: 8.305 MB / 0.5943 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5977, allocations: 0 / 0.5943 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.5977, allocations: 0 / 0.5943 GB, free: 10.57 MB / 410.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.0004215/0.5981, allocations: 350.4 kB / 0.5946 GB, free: 10.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.5982, allocations: 12.03 kB / 0.5947 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.5983, allocations: 30.56 kB / 0.5947 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.5983, allocations: 3.938 kB / 0.5947 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.5984, allocations: 163.1 kB / 0.5948 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.5985, allocations: 4 kB / 0.5948 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.5985, allocations: 7.953 kB / 0.5949 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.5986, allocations: 33.64 kB / 0.5949 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5987, allocations: 0 / 0.5949 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5987, allocations: 0 / 0.5949 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.5987, allocations: 8 kB / 0.5949 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.5988, allocations: 7.984 kB / 0.5949 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.5992, allocations: 240.9 kB / 0.5951 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.5993, allocations: 22.52 kB / 0.5952 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.5993, allocations: 4.859 kB / 0.5952 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.5993, allocations: 4.062 kB / 0.5952 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.5994, allocations: 38.56 kB / 0.5952 GB, free: 9.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.853e-06/0.5994, allocations: 0 / 0.5952 GB, free: 9.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.5996, allocations: 33.69 kB / 0.5952 GB, free: 9.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.5996, allocations: 55.41 kB / 0.5953 GB, free: 9.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.5998, allocations: 85 kB / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.5998, allocations: 25.7 kB / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.5999, allocations: 91.89 kB / 0.5955 GB, free: 9.176 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.958e-06/0.5999, allocations: 4.062 kB / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.5999, allocations: 4 kB / 0.5955 GB, free: 9.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.6001, allocations: 318.8 kB / 0.5958 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.6001, allocations: 4 kB / 0.5958 GB, free: 8.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.6002, allocations: 30.45 kB / 0.5958 GB, free: 8.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.6002, allocations: 0 / 0.5958 GB, free: 8.805 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6002, allocations: 8 kB / 0.5958 GB, free: 8.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.078e-05/0.6003, allocations: 45.62 kB / 0.5959 GB, free: 8.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.6004, allocations: 4 kB / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.6004, allocations: 4 kB / 0.5959 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6004, allocations: 0 / 0.5959 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.892e-05/0.6005, allocations: 8 kB / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6005, allocations: 0 / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.6005, allocations: 4 kB / 0.5959 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.6005, allocations: 4 kB / 0.5959 GB, free: 8.723 MB / 410.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 8.601e-05/0.6006, allocations: 109 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.6007, allocations: 0 / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.6008, allocations: 48.7 kB / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6008, allocations: 0 / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6008, allocations: 4 kB / 0.596 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6009, allocations: 0 / 0.596 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.6011, allocations: 157.6 kB / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6011, allocations: 7.969 kB / 0.5962 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.6011, allocations: 4 kB / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6011, allocations: 0 / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.6011, allocations: 0 / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6011, allocations: 0 / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6011, allocations: 0 / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.6013, allocations: 135.5 kB / 0.5963 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.6013, allocations: 81.06 kB / 0.5964 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.6014, allocations: 4.031 kB / 0.5964 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.6015, allocations: 4 kB / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.6015, allocations: 0 / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.6015, allocations: 0 / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.6015, allocations: 79.28 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6015, allocations: 0 / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.602, allocations: 47.92 kB / 0.5965 GB, free: 7.953 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.0007602/0.6028, allocations: 0.7202 MB / 0.5972 GB, free: 7.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.6029, allocations: 41.58 kB / 0.5973 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6029, allocations: 0 / 0.5973 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.603, allocations: 25.7 kB / 0.5973 GB, free: 7.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.6032, allocations: 7.156 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.6038, allocations: 107.4 kB / 0.5974 GB, free: 6.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.6041, allocations: 0.677 MB / 0.5981 GB, free: 6.281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.653e-05/0.6041, allocations: 3.938 kB / 0.5981 GB, free: 6.277 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.6042, allocations: 7.438 kB / 0.5981 GB, free: 6.27 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6042, allocations: 0 / 0.5981 GB, free: 6.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.6196, allocations: 1.436 MB / 0.5995 GB, free: 4.945 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/0.6199, allocations: 150.2 kB / 0.5996 GB, free: 4.727 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.123, allocations: 0 / 0.5996 GB, free: 4.727 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