Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",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.001841/0.001841, allocations: 185.1 kB / 17.06 MB, free: 5.074 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.4/1.4, allocations: 223.2 MB / 241 MB, free: 10.17 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.0008693/0.0008693, allocations: 92.17 kB / 292.1 MB, free: 10.71 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.3797/0.3797, allocations: 44.21 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004124, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3742, allocations: 61.89 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7125/1.087, allocations: 317.5 MB / 0.8197 GB, free: 12.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.087, allocations: 92.34 kB / 0.8198 GB, free: 12.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6125/1.7, allocations: 100.1 MB / 0.9175 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.924e-06/1.7, allocations: 0 / 0.9175 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.881e-05/1.7, allocations: 13.09 kB / 0.9175 GB, free: 150.5 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.002785/1.703, allocations: 0.8948 MB / 0.9184 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/1.703, allocations: 12.91 kB / 0.9184 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000234/1.703, allocations: 67.69 kB / 0.9185 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/1.703, allocations: 66.89 kB / 0.9186 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/1.704, allocations: 461.8 kB / 0.919 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/1.705, allocations: 21.31 kB / 0.919 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/1.705, allocations: 39.55 kB / 0.9191 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009807/1.706, allocations: 0.5198 MB / 0.9196 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.706, allocations: 1.312 kB / 0.9196 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/1.706, allocations: 12.19 kB / 0.9196 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/1.706, allocations: 32.59 kB / 0.9196 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/1.707, allocations: 456.9 kB / 0.92 GB, free: 149 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/1.71, allocations: 2.256 MB / 0.9223 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/1.711, allocations: 229.6 kB / 0.9225 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/1.712, allocations: 1.015 MB / 0.9235 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/1.712, allocations: 211 kB / 0.9237 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.815e-06/1.712, allocations: 2.438 kB / 0.9237 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0009166/1.713, allocations: 458.3 kB / 0.9241 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.713, allocations: 238.6 kB / 0.9243 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/1.714, allocations: 471.1 kB / 0.9248 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/1.714, allocations: 32.14 kB / 0.9248 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.714, allocations: 283 kB / 0.9251 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/1.715, allocations: 55.36 kB / 0.9251 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/1.715, allocations: 10.16 kB / 0.9251 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.715, allocations: 364 kB / 0.9255 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/1.715, allocations: 119.3 kB / 0.9256 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/1.715, allocations: 307.8 kB / 0.9259 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/1.716, allocations: 200.6 kB / 0.9261 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.716, allocations: 0.75 kB / 0.9261 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009382/1.717, allocations: 0.5126 MB / 0.9266 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005467/1.717, allocations: 1.683 MB / 0.9282 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/1.717, allocations: 8.297 kB / 0.9282 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/1.717, allocations: 6.438 kB / 0.9282 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/1.718, allocations: 80.8 kB / 0.9283 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/1.718, allocations: 6.875 kB / 0.9283 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/1.718, allocations: 65.03 kB / 0.9284 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/1.718, allocations: 21.31 kB / 0.9284 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.719, allocations: 3.438 kB / 0.9284 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000913/1.719, allocations: 462.1 kB / 0.9289 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.719, allocations: 5 kB / 0.9289 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.719, allocations: 6.281 kB / 0.9289 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/1.72, allocations: 79.83 kB / 0.9289 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/1.72, allocations: 6.094 kB / 0.929 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/1.72, allocations: 56.88 kB / 0.929 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/1.72, allocations: 20.5 kB / 0.929 GB, free: 142 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 () * 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.0003333/1.721, allocations: 308.1 kB / 0.9293 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.721, allocations: 52.53 kB / 0.9294 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/1.722, allocations: 369.1 kB / 0.9297 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.722, allocations: 1.188 kB / 0.9297 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.722, allocations: 4.938 kB / 0.9297 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.722, allocations: 3.938 kB / 0.9297 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/1.722, allocations: 412.4 kB / 0.9301 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.722, allocations: 0 / 0.9301 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/1.722, allocations: 27.5 kB / 0.9301 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.722, allocations: 1 kB / 0.9302 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/1.722, allocations: 7.562 kB / 0.9302 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.722, allocations: 0.9688 kB / 0.9302 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.722, allocations: 0 / 0.9302 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/1.723, allocations: 377.1 kB / 0.9305 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/1.723, allocations: 127 kB / 0.9306 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/1.723, allocations: 4.531 kB / 0.9306 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/1.724, allocations: 20.86 kB / 0.9307 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/1.724, allocations: 10.98 kB / 0.9307 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/1.724, allocations: 17.61 kB / 0.9307 GB, free: 141 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005259/1.724, allocations: 374.5 kB / 0.931 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/1.724, allocations: 1.062 kB / 0.931 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002009/1.726, allocations: 473 kB / 0.9315 GB, free: 140.7 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) * 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.002713/1.729, allocations: 1.304 MB / 0.9328 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.73, allocations: 0.6406 MB / 0.9334 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.73, allocations: 1.25 kB / 0.9334 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/1.73, allocations: 176.2 kB / 0.9336 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009785/1.731, allocations: 187.2 kB / 0.9337 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/1.736, allocations: 4.309 MB / 0.938 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/1.736, allocations: 0.8481 MB / 0.9388 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006013/1.737, allocations: 157.8 kB / 0.9389 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/1.737, allocations: 153.2 kB / 0.9391 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of SimCode: time 8.71e-07/1.737, allocations: 0 / 0.9391 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03903/1.776, allocations: 16.65 MB / 0.9553 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/1.776, allocations: 233.2 kB / 0.9556 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/4.49, allocations: 3.234 kB / 0.9556 GB, free: 133.3 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat