Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 98.69 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 45.16 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.298e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.266, allocations: 317.8 MB / 0.8148 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004203/1.267, allocations: 84.89 kB / 0.8149 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2212/1.488, allocations: 98.77 MB / 0.9114 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/1.488, allocations: 0 / 0.9114 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.049e-05/1.488, allocations: 12 kB / 0.9114 GB, free: 43.88 MB / 0.5261 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.001823/1.49, allocations: 0.8401 MB / 0.9122 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.49, allocations: 8.031 kB / 0.9122 GB, free: 42.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/1.49, allocations: 67.28 kB / 0.9123 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007476/1.491, allocations: 467.8 kB / 0.9127 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/1.491, allocations: 12 kB / 0.9127 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/1.491, allocations: 19.94 kB / 0.9128 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005388/1.492, allocations: 389.2 kB / 0.9131 GB, free: 42.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/1.492, allocations: 487.7 kB / 0.9136 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.492, allocations: 0 / 0.9136 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/1.492, allocations: 0 / 0.9136 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/1.492, allocations: 32.5 kB / 0.9136 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/1.495, allocations: 2.175 MB / 0.9158 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/1.495, allocations: 206.7 kB / 0.9159 GB, free: 38.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/1.496, allocations: 132.8 kB / 0.9161 GB, free: 38.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/1.497, allocations: 1.041 MB / 0.9171 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/1.497, allocations: 204.5 kB / 0.9173 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/1.497, allocations: 0 / 0.9173 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0006736/1.497, allocations: 281 kB / 0.9176 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/1.498, allocations: 239.3 kB / 0.9178 GB, free: 36.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/1.498, allocations: 377.1 kB / 0.9181 GB, free: 36.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/1.498, allocations: 25.7 kB / 0.9182 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.498, allocations: 295.4 kB / 0.9184 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/1.498, allocations: 59.19 kB / 0.9185 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/1.498, allocations: 0 / 0.9185 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/1.498, allocations: 350.8 kB / 0.9188 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.499, allocations: 116.4 kB / 0.919 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/1.499, allocations: 280 kB / 0.9192 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.5, allocations: 353.6 kB / 0.9196 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.5, allocations: 8 kB / 0.9196 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001417/1.501, allocations: 0.6288 MB / 0.9202 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004203/1.502, allocations: 1.678 MB / 0.9218 GB, free: 32.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.502, allocations: 8 kB / 0.9218 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.502, allocations: 4 kB / 0.9218 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/1.502, allocations: 83.83 kB / 0.9219 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.502, allocations: 8 kB / 0.9219 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/1.502, allocations: 43.52 kB / 0.922 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/1.503, allocations: 28.06 kB / 0.922 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/1.503, allocations: 4 kB / 0.922 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001259/1.504, allocations: 0.5438 MB / 0.9225 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/1.504, allocations: 4 kB / 0.9225 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/1.504, allocations: 8.516 kB / 0.9225 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/1.504, allocations: 79.89 kB / 0.9226 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.504, allocations: 11.92 kB / 0.9226 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/1.504, allocations: 35.73 kB / 0.9227 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/1.504, allocations: 20 kB / 0.9227 GB, free: 31.59 MB / 0.5261 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 () * 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.000161/1.505, allocations: 150.5 kB / 0.9228 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005077/1.505, allocations: 293 kB / 0.9231 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/1.505, allocations: 47.48 kB / 0.9231 GB, free: 31.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/1.506, allocations: 324.3 kB / 0.9234 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.506, allocations: 7.938 kB / 0.9235 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.506, allocations: 0 / 0.9235 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.506, allocations: 0 / 0.9235 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/1.506, allocations: 365.8 kB / 0.9238 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.506, allocations: 0 / 0.9238 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/1.506, allocations: 27.94 kB / 0.9238 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.506, allocations: 0 / 0.9238 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/1.506, allocations: 11.94 kB / 0.9238 GB, free: 30.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.506, allocations: 4 kB / 0.9238 GB, free: 30.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.506, allocations: 0 / 0.9238 GB, free: 30.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/1.507, allocations: 318.4 kB / 0.9242 GB, free: 30 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/1.507, allocations: 128.5 kB / 0.9243 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/1.507, allocations: 11.95 kB / 0.9243 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.507, allocations: 15.98 kB / 0.9243 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/1.507, allocations: 7.984 kB / 0.9243 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/1.507, allocations: 8 kB / 0.9243 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002465/1.508, allocations: 291 kB / 0.9246 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.508, allocations: 0 / 0.9246 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001417/1.509, allocations: 487.1 kB / 0.9251 GB, free: 29.06 MB / 0.5261 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) * 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.001707/1.511, allocations: 1.29 MB / 0.9263 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007637/1.512, allocations: 0.6002 MB / 0.9269 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.512, allocations: 4 kB / 0.9269 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/1.512, allocations: 171.3 kB / 0.9271 GB, free: 26.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/1.513, allocations: 144.7 kB / 0.9272 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/1.514, allocations: 0.7451 MB / 0.9279 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/1.514, allocations: 0.8513 MB / 0.9288 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005379/1.515, allocations: 166.1 kB / 0.9289 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/1.515, allocations: 143.4 kB / 0.9291 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/1.515, allocations: 0 / 0.9291 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/1.555, allocations: 14.7 MB / 0.9434 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/1.555, allocations: 170.4 kB / 0.9436 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/4.428, allocations: 0 / 0.9436 GB, free: 10.01 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat