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.00108/0.00108, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009775/0.0009772, allocations: 105.2 kB / 297.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3879/0.3879, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 4 kB / 467.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3895, allocations: 62.96 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.827/2.217, allocations: 0.76 GB / 1.278 GB, free: 55.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/2.217, allocations: 93.22 kB / 1.278 GB, free: 54.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.278/7.495, allocations: 1.143 GB / 2.421 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.087e-06/7.495, allocations: 0 / 2.421 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003212/7.495, allocations: 39.88 kB / 2.421 GB, free: 58.75 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.02244/7.518, allocations: 2.609 MB / 2.424 GB, free: 58.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.579e-05/7.518, allocations: 9.344 kB / 2.424 GB, free: 58.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005572/7.524, allocations: 456.9 kB / 2.424 GB, free: 58 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/7.529, allocations: 1.225 MB / 2.425 GB, free: 57.71 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/7.529, allocations: 94.02 kB / 2.426 GB, free: 57.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/7.53, allocations: 114.3 kB / 2.426 GB, free: 57.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/7.541, allocations: 2.955 MB / 2.428 GB, free: 57.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.507e-05/7.541, allocations: 0 / 2.428 GB, free: 57.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009964/7.542, allocations: 55.75 kB / 2.429 GB, free: 57.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000263/7.542, allocations: 142.8 kB / 2.429 GB, free: 57.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009174/7.551, allocations: 3.689 MB / 2.432 GB, free: 57.48 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.02706/7.578, allocations: 8.468 MB / 2.441 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004861/7.583, allocations: 1.571 MB / 2.442 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/7.585, allocations: 0.8089 MB / 2.443 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/7.587, allocations: 0.7439 MB / 2.444 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.821e-05/7.587, allocations: 48.67 kB / 2.444 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004565/7.592, allocations: 0.8407 MB / 2.444 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 1.995e-05/7.592, allocations: 3.406 kB / 2.444 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.01577/7.608, allocations: 4.244 MB / 2.449 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/7.608, allocations: 136.1 kB / 2.449 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/7.612, allocations: 1.669 MB / 2.45 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004508/7.613, allocations: 45.05 kB / 2.45 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009087/7.614, allocations: 0.6407 MB / 2.451 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/7.614, allocations: 269.6 kB / 2.451 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/7.615, allocations: 17.31 kB / 2.451 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001944/7.615, allocations: 348.3 kB / 2.452 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/7.616, allocations: 0.851 MB / 2.452 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/7.618, allocations: 1.054 MB / 2.454 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/7.621, allocations: 1.852 MB / 2.455 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/7.621, allocations: 0 / 2.455 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005759/7.627, allocations: 2.715 MB / 2.458 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/7.627, allocations: 230.8 kB / 2.458 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/7.628, allocations: 5.562 kB / 2.458 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01856/7.646, allocations: 3.723 MB / 2.462 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/7.648, allocations: 187.6 kB / 2.462 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/7.652, allocations: 2.26 MB / 2.464 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/7.655, allocations: 82.89 kB / 2.464 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005745/7.655, allocations: 89.45 kB / 2.464 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/7.655, allocations: 5.188 kB / 2.464 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005135/7.661, allocations: 2.117 MB / 2.466 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/7.661, allocations: 6.25 kB / 2.466 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007563/7.661, allocations: 162.3 kB / 2.467 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/7.663, allocations: 265.6 kB / 2.467 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/7.666, allocations: 2.182 MB / 2.469 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/7.669, allocations: 78.61 kB / 2.469 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004475/7.669, allocations: 82.78 kB / 2.469 GB, free: 50.39 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.002054/7.671, allocations: 0.5058 MB / 2.47 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/7.672, allocations: 154.4 kB / 2.47 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008245/7.681, allocations: 3.3 MB / 2.473 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/7.681, allocations: 7.344 kB / 2.473 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/7.681, allocations: 3.094 kB / 2.473 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/7.681, allocations: 7.641 kB / 2.473 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008234/7.689, allocations: 3.279 MB / 2.476 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/7.689, allocations: 0 / 2.476 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/7.69, allocations: 85.3 kB / 2.476 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/7.7, allocations: 2.557 MB / 2.479 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/7.701, allocations: 23.8 kB / 2.479 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/7.704, allocations: 1.981 MB / 2.481 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/7.704, allocations: 0 / 2.481 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/7.709, allocations: 1.917 MB / 2.483 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/7.711, allocations: 269.5 kB / 2.483 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/7.712, allocations: 12.19 kB / 2.483 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/7.714, allocations: 85.69 kB / 2.483 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/7.715, allocations: 53.64 kB / 2.483 GB, free: 48.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003223/7.715, allocations: 66.69 kB / 2.483 GB, free: 48.65 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003211/7.718, allocations: 1.181 MB / 2.484 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.71e-07/7.718, allocations: 0 / 2.484 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01117/7.729, allocations: 1.759 MB / 2.486 GB, free: 48.34 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 {3 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.01039/7.74, allocations: 2.242 MB / 2.488 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007/7.747, allocations: 3.018 MB / 2.491 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/7.747, allocations: 10.53 kB / 2.491 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/7.748, allocations: 0.7267 MB / 2.492 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005851/7.754, allocations: 0.9285 MB / 2.493 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/7.759, allocations: 2.901 MB / 2.496 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/7.76, allocations: 1.303 MB / 2.497 GB, free: 45.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003224/7.763, allocations: 0.8997 MB / 2.498 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/7.764, allocations: 131.1 kB / 2.498 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.673e-06/7.764, allocations: 0 / 2.498 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of Templates: time 0.1344/7.898, allocations: 75.64 MB / 2.572 GB, free: 18.47 MB / 0.5573 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/jenkins1/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