Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.001573/0.001573, allocations: 181 kB / 17.06 MB, free: 5.098 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.504/1.504, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 101.3 kB / 292.1 MB, free: 10.94 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.3898/0.3898, allocations: 44.21 MB / 387.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 8 kB / 460 MB, free: 1.691 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3689, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4825, allocations: 86.44 MB / 0.594 GB, free: 8.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.4827, allocations: 79.92 kB / 0.5941 GB, free: 8.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02631/0.509, allocations: 8.309 MB / 0.6022 GB, free: 352 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5091, allocations: 0 / 0.6022 GB, free: 352 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.5091, allocations: 0 / 0.6022 GB, free: 352 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003908/0.5095, allocations: 351.2 kB / 0.6026 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5096, allocations: 12.03 kB / 0.6026 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.5096, allocations: 30.56 kB / 0.6026 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.5096, allocations: 4 kB / 0.6026 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.5098, allocations: 167.1 kB / 0.6028 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5098, allocations: 0 / 0.6028 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.5098, allocations: 3.953 kB / 0.6028 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.949e-05/0.5099, allocations: 33.64 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5099, allocations: 0 / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.51, allocations: 0 / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.51, allocations: 4 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.51, allocations: 4 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.5102, allocations: 149.7 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.029e-05/0.5102, allocations: 18.61 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.5103, allocations: 3.953 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.5103, allocations: 46.48 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5103, allocations: 0 / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.5105, allocations: 37.69 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.5105, allocations: 55.41 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.5106, allocations: 89 kB / 0.6032 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.5106, allocations: 25.7 kB / 0.6032 GB, free: 15.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.5106, allocations: 80.14 kB / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.5107, allocations: 4 kB / 0.6033 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.5107, allocations: 0 / 0.6033 GB, free: 15.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5108, allocations: 315.1 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.5108, allocations: 0 / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.5108, allocations: 4 kB / 0.6036 GB, free: 14.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.765e-05/0.5108, allocations: 15.86 kB / 0.6036 GB, free: 14.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5108, allocations: 0 / 0.6036 GB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.968e-05/0.5109, allocations: 37.61 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5109, allocations: 7.953 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.511, allocations: 0 / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.511, allocations: 4 kB / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.511, allocations: 4.094 kB / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.511, allocations: 0 / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.511, allocations: 0 / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.511, allocations: 3.984 kB / 0.6037 GB, free: 14.64 MB / 426.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 (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 prepare postOptimizeDAE: time 9.391e-05/0.5111, allocations: 114.4 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.5111, allocations: 4 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.5113, allocations: 56.31 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5113, allocations: 0 / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5114, allocations: 0 / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5114, allocations: 0 / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.5115, allocations: 149.7 kB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5115, allocations: 0 / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.5115, allocations: 0 / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.5115, allocations: 0 / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.5115, allocations: 0 / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5116, allocations: 3.953 kB / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5116, allocations: 7.984 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.008e-05/0.5116, allocations: 61.17 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.5117, allocations: 81.05 kB / 0.6041 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.5117, allocations: 0 / 0.6041 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.5118, allocations: 3.984 kB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.5118, allocations: 11.89 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.5118, allocations: 0 / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.5118, allocations: 83.31 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5118, allocations: 0 / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.5121, allocations: 43.94 kB / 0.6043 GB, free: 13.94 MB / 426.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 (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.000538/0.5126, allocations: 0.6397 MB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.5127, allocations: 33.83 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5128, allocations: 4.062 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.5128, allocations: 33.64 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.5129, allocations: 9.5 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.5133, allocations: 128.3 kB / 0.6051 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.5136, allocations: 0.677 MB / 0.6058 GB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.212e-05/0.5136, allocations: 3.938 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.5137, allocations: 7.438 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5137, allocations: 4.062 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.5268, allocations: 1.429 MB / 0.6072 GB, free: 10.99 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.527, allocations: 184.9 kB / 0.6073 GB, free: 10.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.104, allocations: 0 / 0.6073 GB, free: 10.75 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat