Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008876/0.0008877, allocations: 94.81 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2226/0.2226, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 58.87 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.161, allocations: 316.7 MB / 0.7882 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.161, allocations: 85.02 kB / 0.7883 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.235/1.396, allocations: 97.86 MB / 0.8838 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.166e-06/1.397, allocations: 0 / 0.8838 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.336e-05/1.397, allocations: 16 kB / 0.8838 GB, free: 11.64 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003113/1.4, allocations: 0.891 MB / 0.8847 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.394e-05/1.4, allocations: 12.03 kB / 0.8847 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003658/1.4, allocations: 74.52 kB / 0.8848 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005527/1.401, allocations: 67.28 kB / 0.8848 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/1.402, allocations: 461.4 kB / 0.8853 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/1.402, allocations: 24.56 kB / 0.8853 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/1.403, allocations: 31.98 kB / 0.8853 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.404, allocations: 0.5209 MB / 0.8858 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.404, allocations: 0 / 0.8858 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/1.404, allocations: 23.97 kB / 0.8859 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/1.404, allocations: 28.55 kB / 0.8859 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/1.405, allocations: 457.9 kB / 0.8863 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/1.409, allocations: 2.257 MB / 0.8885 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/1.41, allocations: 230.5 kB / 0.8888 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/1.411, allocations: 1.018 MB / 0.8898 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/1.411, allocations: 208.4 kB / 0.89 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.805e-06/1.411, allocations: 0 / 0.89 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0008967/1.412, allocations: 463.7 kB / 0.8904 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/1.412, allocations: 243.3 kB / 0.8906 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/1.413, allocations: 469.1 kB / 0.8911 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/1.413, allocations: 29.7 kB / 0.8911 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/1.413, allocations: 275.2 kB / 0.8914 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/1.413, allocations: 63.17 kB / 0.8914 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/1.414, allocations: 12 kB / 0.8914 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.414, allocations: 358.8 kB / 0.8918 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/1.414, allocations: 124.3 kB / 0.8919 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/1.414, allocations: 303.8 kB / 0.8922 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/1.415, allocations: 209.2 kB / 0.8924 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.415, allocations: 3.938 kB / 0.8924 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001012/1.416, allocations: 0.5056 MB / 0.8929 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.3582/1.774, allocations: 1.688 MB / 0.8945 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/1.774, allocations: 5.312 kB / 0.8945 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.155e-05/1.774, allocations: 9.281 kB / 0.8945 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/1.775, allocations: 71.19 kB / 0.8946 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/1.775, allocations: 10.42 kB / 0.8946 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/1.775, allocations: 61.33 kB / 0.8947 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/1.775, allocations: 22.66 kB / 0.8947 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.775, allocations: 7.031 kB / 0.8947 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/1.777, allocations: 464.3 kB / 0.8952 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.777, allocations: 5.984 kB / 0.8952 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.777, allocations: 6.812 kB / 0.8952 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/1.777, allocations: 77.23 kB / 0.8952 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.777, allocations: 9.953 kB / 0.8953 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/1.777, allocations: 55.31 kB / 0.8953 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/1.777, allocations: 21.42 kB / 0.8953 GB, free: 134.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0004296/1.778, allocations: 304 kB / 0.8956 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/1.778, allocations: 50.11 kB / 0.8957 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009027/1.779, allocations: 359.8 kB / 0.896 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.779, allocations: 0.5156 kB / 0.896 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.779, allocations: 0 / 0.896 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/1.779, allocations: 8.938 kB / 0.896 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/1.78, allocations: 410.2 kB / 0.8964 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/1.78, allocations: 0.7031 kB / 0.8964 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/1.78, allocations: 24.59 kB / 0.8964 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/1.78, allocations: 3.5 kB / 0.8964 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/1.78, allocations: 9.25 kB / 0.8964 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.78, allocations: 3.953 kB / 0.8964 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.78, allocations: 0 / 0.8964 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/1.78, allocations: 363.8 kB / 0.8968 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/1.781, allocations: 138.7 kB / 0.8969 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/1.781, allocations: 6.375 kB / 0.8969 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/1.781, allocations: 21.75 kB / 0.897 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/1.781, allocations: 10.25 kB / 0.897 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/1.781, allocations: 12.17 kB / 0.897 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004998/1.782, allocations: 371.1 kB / 0.8973 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.782, allocations: 3.172 kB / 0.8973 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001799/1.783, allocations: 474.6 kB / 0.8978 GB, free: 133.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.001806/1.785, allocations: 1.303 MB / 0.8991 GB, free: 133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008975/1.786, allocations: 0.6399 MB / 0.8997 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.786, allocations: 0 / 0.8997 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/1.786, allocations: 175.8 kB / 0.8998 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/1.787, allocations: 196 kB / 0.9 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/1.79, allocations: 4.293 MB / 0.9042 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.79, allocations: 0.8523 MB / 0.9051 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005805/1.791, allocations: 159.3 kB / 0.9052 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/1.791, allocations: 156.9 kB / 0.9054 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of SimCode: time 4.528e-06/1.791, allocations: 0 / 0.9054 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/1.837, allocations: 16.63 MB / 0.9216 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.837, allocations: 238.4 kB / 0.9218 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/4.636, allocations: 0 / 0.9218 GB, free: 127.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat