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.001248/0.001248, allocations: 195.1 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 95.7 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.561e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 63.25 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8791/1.007, allocations: 318.5 MB / 0.8225 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/1.007, allocations: 83.95 kB / 0.8226 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1966/1.204, allocations: 99.55 MB / 0.9198 GB, free: 42.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/1.204, allocations: 4 kB / 0.9198 GB, free: 42.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.733e-05/1.204, allocations: 12 kB / 0.9198 GB, free: 42 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.001663/1.205, allocations: 0.8362 MB / 0.9206 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.205, allocations: 8.031 kB / 0.9206 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/1.206, allocations: 66.53 kB / 0.9207 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/1.206, allocations: 63.3 kB / 0.9207 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/1.207, allocations: 471.8 kB / 0.9212 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/1.207, allocations: 32.42 kB / 0.9212 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/1.207, allocations: 28 kB / 0.9213 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/1.207, allocations: 0.5164 MB / 0.9218 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.207, allocations: 0 / 0.9218 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/1.207, allocations: 12 kB / 0.9218 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/1.208, allocations: 32.5 kB / 0.9218 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/1.208, allocations: 450.1 kB / 0.9222 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/1.211, allocations: 2.254 MB / 0.9244 GB, free: 36.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/1.211, allocations: 214.7 kB / 0.9246 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/1.211, allocations: 128.8 kB / 0.9248 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009565/1.212, allocations: 1.068 MB / 0.9258 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/1.212, allocations: 210 kB / 0.926 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/1.212, allocations: 4 kB / 0.926 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.000452/1.213, allocations: 302.7 kB / 0.9263 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/1.213, allocations: 235.3 kB / 0.9265 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/1.213, allocations: 463.8 kB / 0.927 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/1.213, allocations: 37.64 kB / 0.927 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.213, allocations: 271.4 kB / 0.9273 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/1.214, allocations: 63.19 kB / 0.9273 GB, free: 33.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/1.214, allocations: 8 kB / 0.9273 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/1.214, allocations: 358.8 kB / 0.9277 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/1.214, allocations: 120.4 kB / 0.9278 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/1.214, allocations: 296 kB / 0.9281 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/1.214, allocations: 202.6 kB / 0.9283 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.214, allocations: 0 / 0.9283 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006519/1.215, allocations: 0.5017 MB / 0.9287 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003339/1.215, allocations: 1.688 MB / 0.9304 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.215, allocations: 12 kB / 0.9304 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.215, allocations: 4 kB / 0.9304 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/1.216, allocations: 75.89 kB / 0.9305 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.216, allocations: 12 kB / 0.9305 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/1.216, allocations: 71.31 kB / 0.9306 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/1.216, allocations: 24 kB / 0.9306 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/1.216, allocations: 0 / 0.9306 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005695/1.217, allocations: 461.5 kB / 0.931 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.217, allocations: 7.938 kB / 0.931 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.114e-06/1.217, allocations: 12.55 kB / 0.931 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/1.217, allocations: 67.91 kB / 0.9311 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/1.217, allocations: 19.92 kB / 0.9311 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/1.217, allocations: 51.58 kB / 0.9312 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/1.217, allocations: 20 kB / 0.9312 GB, free: 29.55 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.0001149/1.217, allocations: 159.7 kB / 0.9314 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/1.218, allocations: 55.39 kB / 0.9314 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/1.218, allocations: 360.3 kB / 0.9317 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.218, allocations: 0 / 0.9317 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.218, allocations: 0 / 0.9317 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.218, allocations: 3.938 kB / 0.9318 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/1.218, allocations: 417.2 kB / 0.9321 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.218, allocations: 0 / 0.9321 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/1.219, allocations: 23.98 kB / 0.9322 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.219, allocations: 3.953 kB / 0.9322 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.219, allocations: 8 kB / 0.9322 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.219, allocations: 4 kB / 0.9322 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.219, allocations: 0 / 0.9322 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/1.219, allocations: 365 kB / 0.9325 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.219, allocations: 136.4 kB / 0.9327 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/1.219, allocations: 8 kB / 0.9327 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/1.22, allocations: 23.98 kB / 0.9327 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/1.22, allocations: 7.984 kB / 0.9327 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/1.22, allocations: 12 kB / 0.9327 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003527/1.22, allocations: 365.5 kB / 0.9331 GB, free: 27.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.22, allocations: 0 / 0.9331 GB, free: 27.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001507/1.222, allocations: 487.4 kB / 0.9335 GB, free: 27.05 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.002243/1.224, allocations: 1.314 MB / 0.9348 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008339/1.225, allocations: 0.6483 MB / 0.9354 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.225, allocations: 0 / 0.9354 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/1.225, allocations: 179.9 kB / 0.9356 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/1.226, allocations: 184.8 kB / 0.9358 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/1.227, allocations: 0.7782 MB / 0.9366 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/1.227, allocations: 0.8521 MB / 0.9374 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006033/1.228, allocations: 188.1 kB / 0.9376 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/1.228, allocations: 151.4 kB / 0.9377 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/1.228, allocations: 0 / 0.9377 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/1.259, allocations: 17.57 MB / 0.9549 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.259, allocations: 199.1 kB / 0.9551 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.577, allocations: 8 kB / 0.9551 GB, free: 4.996 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