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.001339/0.001339, allocations: 176.8 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.406/1.406, allocations: 223.2 MB / 241 MB, free: 11.9 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.0009214/0.0009213, allocations: 87.86 kB / 292.1 MB, free: 10.92 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.3589/0.3589, allocations: 44.21 MB / 387.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 61.9 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4633, allocations: 86.43 MB / 0.594 GB, free: 8.684 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.4636, allocations: 75.92 kB / 0.5941 GB, free: 8.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02581/0.4894, allocations: 8.311 MB / 0.6022 GB, free: 296 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4894, allocations: 0 / 0.6022 GB, free: 296 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4895, allocations: 0 / 0.6022 GB, free: 296 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003421/0.4898, allocations: 351.3 kB / 0.6026 GB, free: 15.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4899, allocations: 8.031 kB / 0.6026 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.4899, allocations: 34.56 kB / 0.6026 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.4899, allocations: 3.906 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.368e-05/0.49, allocations: 159.1 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.49, allocations: 4 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4901, allocations: 7.938 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.4902, allocations: 41.64 kB / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.4902, allocations: 0 / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.4902, allocations: 0 / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4902, allocations: 0 / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.4903, allocations: 11.98 kB / 0.6028 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.4906, allocations: 240.9 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.589e-05/0.4906, allocations: 18.58 kB / 0.6031 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4906, allocations: 7.938 kB / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.4907, allocations: 42.53 kB / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.444e-06/0.4907, allocations: 0 / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.4908, allocations: 37.7 kB / 0.6032 GB, free: 15.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.4909, allocations: 51.41 kB / 0.6032 GB, free: 15.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.4909, allocations: 89 kB / 0.6033 GB, free: 15.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.491, allocations: 25.95 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.491, allocations: 96.03 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.491, allocations: 0 / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.491, allocations: 0 / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4911, allocations: 310.8 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.4912, allocations: 4 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.4912, allocations: 26.52 kB / 0.6037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.4912, allocations: 11.95 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4912, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.77e-05/0.4913, allocations: 53.53 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4913, allocations: 4 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4913, allocations: 4 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4914, allocations: 0 / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.4914, allocations: 4 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4914, allocations: 3.984 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.4915, allocations: 8.094 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.4915, allocations: 0 / 0.6038 GB, free: 14.43 MB / 426.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 () * Number of clocked 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.497e-05/0.4915, allocations: 110.3 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.4916, allocations: 4 kB / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.4917, allocations: 60.36 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.4917, allocations: 0 / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4917, allocations: 0 / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4917, allocations: 4.031 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.4919, allocations: 141.7 kB / 0.6041 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4919, allocations: 7.953 kB / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.4919, allocations: 0 / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4919, allocations: 0 / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4919, allocations: 3.984 kB / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4919, allocations: 0 / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.4919, allocations: 4 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.168e-05/0.492, allocations: 135.5 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.4921, allocations: 81.06 kB / 0.6043 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4921, allocations: 4 kB / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.4922, allocations: 7.922 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.4922, allocations: 0 / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.4922, allocations: 0 / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.4922, allocations: 83.28 kB / 0.6044 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4922, allocations: 3.938 kB / 0.6044 GB, free: 13.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000278/0.4925, allocations: 43.94 kB / 0.6045 GB, free: 13.66 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.0005252/0.493, allocations: 0.7125 MB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.12e-05/0.4931, allocations: 41.64 kB / 0.6052 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4931, allocations: 0 / 0.6052 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.4932, allocations: 25.92 kB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.4933, allocations: 11 kB / 0.6053 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.4937, allocations: 132.3 kB / 0.6054 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.4939, allocations: 0.677 MB / 0.606 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.4939, allocations: 0 / 0.606 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.4939, allocations: 11.44 kB / 0.6061 GB, free: 11.95 MB / 426.7 MB Notification: Performance of SimCode: time 2e-07/0.4939, allocations: 0 / 0.6061 GB, free: 11.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.5052, allocations: 1.433 MB / 0.6074 GB, free: 10.64 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.5054, allocations: 188.7 kB / 0.6076 GB, free: 10.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.038, allocations: 0 / 0.6076 GB, free: 10.39 MB / 426.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