Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.2 MB / 245 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009413/0.0009413, allocations: 94.7 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3849/0.3849, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 8 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3977, allocations: 63.24 MB / 0.5192 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.642/2.04, allocations: 0.7599 GB / 1.279 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/2.041, allocations: 87.64 kB / 1.279 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.613/6.654, allocations: 1.151 GB / 2.43 GB, free: 59.94 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.774e-06/6.654, allocations: 0 / 2.43 GB, free: 59.94 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001909/6.654, allocations: 37.55 kB / 2.43 GB, free: 59.94 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01902/6.673, allocations: 2.631 MB / 2.433 GB, free: 58.96 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.111e-05/6.673, allocations: 10.56 kB / 2.433 GB, free: 58.96 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006059/6.679, allocations: 479.7 kB / 2.433 GB, free: 58.88 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005211/6.685, allocations: 1.206 MB / 2.434 GB, free: 58.61 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/6.685, allocations: 87.27 kB / 2.434 GB, free: 58.61 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009066/6.686, allocations: 109.9 kB / 2.435 GB, free: 58.61 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007144/6.693, allocations: 2.948 MB / 2.437 GB, free: 58.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/6.693, allocations: 0 / 2.437 GB, free: 58.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004532/6.694, allocations: 54.16 kB / 2.437 GB, free: 58.4 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/6.694, allocations: 147 kB / 2.438 GB, free: 58.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006372/6.7, allocations: 3.686 MB / 2.441 GB, free: 58.38 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/6.717, allocations: 8.469 MB / 2.449 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/6.72, allocations: 1.586 MB / 2.451 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009955/6.721, allocations: 0.7459 MB / 2.452 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/6.721, allocations: 46.64 kB / 2.452 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002897/6.724, allocations: 0.8395 MB / 2.453 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 4.018e-06/6.724, allocations: 0 / 2.453 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.01202/6.736, allocations: 4.21 MB / 2.457 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/6.736, allocations: 138.1 kB / 2.457 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/6.738, allocations: 1.507 MB / 2.458 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/6.738, allocations: 45.14 kB / 2.458 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/6.739, allocations: 0.6413 MB / 2.459 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/6.739, allocations: 264.2 kB / 2.459 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/6.739, allocations: 20.25 kB / 2.459 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/6.739, allocations: 341.8 kB / 2.46 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/6.74, allocations: 0.8532 MB / 2.46 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/6.742, allocations: 1.051 MB / 2.461 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/6.743, allocations: 0.9622 MB / 2.462 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/6.743, allocations: 0 / 2.462 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004101/6.747, allocations: 2.713 MB / 2.465 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003612/6.747, allocations: 1.869 MB / 2.467 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/6.747, allocations: 6.938 kB / 2.467 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01898/6.766, allocations: 3.733 MB / 2.471 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/6.767, allocations: 184.4 kB / 2.471 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/6.77, allocations: 2.254 MB / 2.473 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/6.772, allocations: 80.28 kB / 2.473 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/6.773, allocations: 90.98 kB / 2.473 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/6.773, allocations: 5.594 kB / 2.473 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003602/6.776, allocations: 2.111 MB / 2.475 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/6.776, allocations: 8.719 kB / 2.475 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000685/6.777, allocations: 160.2 kB / 2.475 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/6.778, allocations: 272.8 kB / 2.476 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/6.781, allocations: 2.227 MB / 2.478 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/6.782, allocations: 81.53 kB / 2.478 GB, free: 49.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/6.783, allocations: 82.42 kB / 2.478 GB, free: 49.78 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (85): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.001146/6.784, allocations: 0.5019 MB / 2.478 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/6.784, allocations: 155 kB / 2.479 GB, free: 49.51 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/6.789, allocations: 3.308 MB / 2.482 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/6.789, allocations: 12.48 kB / 2.482 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/6.789, allocations: 0 / 2.482 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/6.789, allocations: 3.75 kB / 2.482 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/6.794, allocations: 3.278 MB / 2.485 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/6.794, allocations: 5.531 kB / 2.485 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/6.795, allocations: 78.78 kB / 2.485 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01031/6.805, allocations: 2.565 MB / 2.488 GB, free: 48.99 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/6.805, allocations: 23.61 kB / 2.488 GB, free: 48.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/6.808, allocations: 1.902 MB / 2.489 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/6.808, allocations: 0 / 2.489 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/6.811, allocations: 1.928 MB / 2.491 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009647/6.812, allocations: 271 kB / 2.492 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006273/6.813, allocations: 19.22 kB / 2.492 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/6.815, allocations: 83 kB / 2.492 GB, free: 48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/6.815, allocations: 51.39 kB / 2.492 GB, free: 48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/6.815, allocations: 59.67 kB / 2.492 GB, free: 48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002238/6.817, allocations: 1.185 MB / 2.493 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.21e-07/6.817, allocations: 0 / 2.493 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007472/6.825, allocations: 1.758 MB / 2.495 GB, free: 47.58 MB / 0.5573 GB 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.007692/6.833, allocations: 2.243 MB / 2.497 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005329/6.838, allocations: 3.017 MB / 2.5 GB, free: 46.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/6.838, allocations: 0.6562 kB / 2.5 GB, free: 46.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/6.839, allocations: 0.7367 MB / 2.5 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/6.844, allocations: 0.9305 MB / 2.501 GB, free: 46.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/6.848, allocations: 2.907 MB / 2.504 GB, free: 45.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007561/6.849, allocations: 1.33 MB / 2.506 GB, free: 44.26 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002998/6.852, allocations: 0.8979 MB / 2.506 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/6.852, allocations: 124.8 kB / 2.507 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/6.852, allocations: 3.172 kB / 2.507 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.09822/6.951, allocations: 73.99 MB / 2.579 GB, free: 11.96 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/IdealMixing1/IdealMixing1.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches