Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.001819/0.001819, allocations: 178.4 kB / 17.06 MB, free: 5.094 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.412/1.412, 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.0009031/0.0009029, allocations: 101.8 kB / 292.1 MB, free: 10.9 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.3557/0.3557, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3651, allocations: 61.9 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4829, allocations: 85.05 MB / 0.5927 GB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.4831, allocations: 71.94 kB / 0.5928 GB, free: 10 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001688/0.4848, allocations: 0.6154 MB / 0.5934 GB, free: 9.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4848, allocations: 0 / 0.5934 GB, free: 9.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4848, allocations: 0 / 0.5934 GB, free: 9.383 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.0003091/0.4852, allocations: 319.3 kB / 0.5937 GB, free: 9.023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.4852, allocations: 8.031 kB / 0.5937 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.4853, allocations: 42.5 kB / 0.5937 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.4853, allocations: 0 / 0.5937 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.4855, allocations: 167 kB / 0.5939 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4855, allocations: 4 kB / 0.5939 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4855, allocations: 3.953 kB / 0.5939 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.799e-05/0.4856, allocations: 33.64 kB / 0.5939 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4856, allocations: 4 kB / 0.5939 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.4856, allocations: 0 / 0.5939 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4857, allocations: 0 / 0.5939 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.4857, allocations: 15.97 kB / 0.5939 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.4859, allocations: 153.7 kB / 0.5941 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.4861, allocations: 30.58 kB / 0.5941 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.4864, allocations: 125.1 kB / 0.5942 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4865, allocations: 46.44 kB / 0.5943 GB, free: 8.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.4865, allocations: 0 / 0.5943 GB, free: 8.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001344/0.4878, allocations: 201.4 kB / 0.5945 GB, free: 8.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.4879, allocations: 59.34 kB / 0.5945 GB, free: 7.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.096e-05/0.4879, allocations: 92.94 kB / 0.5946 GB, free: 7.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.488, allocations: 29.7 kB / 0.5946 GB, free: 7.855 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.488, allocations: 84.12 kB / 0.5947 GB, free: 7.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.488, allocations: 11.75 kB / 0.5947 GB, free: 7.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.4881, allocations: 4 kB / 0.5947 GB, free: 7.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4882, allocations: 314.8 kB / 0.595 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.4883, allocations: 24.11 kB / 0.595 GB, free: 7.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.4884, allocations: 23.97 kB / 0.5951 GB, free: 7.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.4885, allocations: 23.98 kB / 0.5951 GB, free: 7.367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4885, allocations: 0 / 0.5951 GB, free: 7.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000207/0.4887, allocations: 85.67 kB / 0.5952 GB, free: 7.277 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.4887, allocations: 9.203 kB / 0.5952 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4887, allocations: 0 / 0.5952 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4888, allocations: 0 / 0.5952 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4889, allocations: 19.92 kB / 0.5952 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4889, allocations: 0 / 0.5952 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.489, allocations: 15.98 kB / 0.5952 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.489, allocations: 0 / 0.5952 GB, free: 7.234 MB / 410.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 (5): * Single equations (assignments): 5 * 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.875e-05/0.4891, allocations: 110.4 kB / 0.5953 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.4891, allocations: 7.938 kB / 0.5953 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.4894, allocations: 101.2 kB / 0.5954 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4894, allocations: 0 / 0.5954 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4894, allocations: 0 / 0.5954 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4895, allocations: 0 / 0.5954 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.4901, allocations: 363.2 kB / 0.5958 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4902, allocations: 7.953 kB / 0.5958 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4903, allocations: 19.92 kB / 0.5958 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4903, allocations: 0 / 0.5958 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.4903, allocations: 0 / 0.5958 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4903, allocations: 320 / 0.5958 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4903, allocations: 8.031 kB / 0.5958 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.4906, allocations: 198 kB / 0.596 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.4906, allocations: 85.09 kB / 0.5961 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.4907, allocations: 4 kB / 0.5961 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4908, allocations: 8 kB / 0.5961 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.4908, allocations: 3.984 kB / 0.5961 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.4908, allocations: 4 kB / 0.5961 GB, free: 6.215 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.4909, allocations: 79.22 kB / 0.5962 GB, free: 6.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4909, allocations: 0 / 0.5962 GB, free: 6.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.4911, allocations: 12 kB / 0.5962 GB, free: 6.125 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0006106/0.4917, allocations: 0.8072 MB / 0.597 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4919, allocations: 51.89 kB / 0.597 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4919, allocations: 0 / 0.597 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.492, allocations: 32.05 kB / 0.5971 GB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.4922, allocations: 7.984 kB / 0.5971 GB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.4928, allocations: 181.4 kB / 0.5972 GB, free: 4.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4931, allocations: 0.6848 MB / 0.5979 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.995e-05/0.4931, allocations: 0 / 0.5979 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.4932, allocations: 19.42 kB / 0.5979 GB, free: 4.242 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4932, allocations: 4 kB / 0.5979 GB, free: 4.238 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.5045, allocations: 1.222 MB / 0.5991 GB, free: 3.141 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.5047, allocations: 172.5 kB / 0.5993 GB, free: 2.906 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.001, allocations: 3.938 kB / 0.5993 GB, free: 2.902 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat