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.001161/0.001161, allocations: 202.1 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.555/1.555, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 91.27 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 45.16 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.827e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1636, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.091/2.254, allocations: 0.7592 GB / 1.264 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/2.254, allocations: 84.14 kB / 1.264 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.882/6.137, allocations: 1.137 GB / 2.4 GB, free: 66.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.804e-06/6.137, allocations: 1 kB / 2.4 GB, free: 66.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001776/6.137, allocations: 33.66 kB / 2.4 GB, free: 66.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.0168/6.154, allocations: 2.463 MB / 2.403 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/6.154, allocations: 9.781 kB / 2.403 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/6.159, allocations: 475 kB / 2.403 GB, free: 66.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004006/6.163, allocations: 1.207 MB / 2.404 GB, free: 65.86 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/6.163, allocations: 41.67 kB / 2.404 GB, free: 65.86 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007942/6.164, allocations: 64.53 kB / 2.404 GB, free: 65.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006437/6.171, allocations: 3.435 MB / 2.408 GB, free: 65.85 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005181/6.176, allocations: 2.393 MB / 2.41 GB, free: 65.65 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/6.176, allocations: 11.5 kB / 2.41 GB, free: 65.65 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004536/6.176, allocations: 0 / 2.41 GB, free: 65.65 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/6.177, allocations: 140.4 kB / 2.41 GB, free: 65.65 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.0165/6.193, allocations: 8.53 MB / 2.419 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/6.197, allocations: 1.676 MB / 2.42 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/6.198, allocations: 0.8929 MB / 2.421 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/6.199, allocations: 0.7547 MB / 2.422 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/6.199, allocations: 48.92 kB / 2.422 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002943/6.202, allocations: 0.7663 MB / 2.423 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 8.115e-06/6.202, allocations: 0 / 2.423 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.004969/6.207, allocations: 2.463 MB / 2.425 GB, free: 62.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/6.207, allocations: 138.6 kB / 2.425 GB, free: 62.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/6.208, allocations: 0.7826 MB / 2.426 GB, free: 62.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/6.208, allocations: 30.55 kB / 2.426 GB, free: 62.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/6.209, allocations: 0.6644 MB / 2.427 GB, free: 61.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/6.209, allocations: 252.9 kB / 2.427 GB, free: 61.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/6.209, allocations: 0 / 2.427 GB, free: 61.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/6.209, allocations: 348.4 kB / 2.427 GB, free: 61.42 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/6.21, allocations: 0.9265 MB / 2.428 GB, free: 61.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/6.211, allocations: 1.107 MB / 2.429 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/6.216, allocations: 1.72 MB / 2.431 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/6.216, allocations: 0 / 2.431 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006965/6.223, allocations: 3.407 MB / 2.434 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003113/6.223, allocations: 1.578 MB / 2.436 GB, free: 59.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/6.223, allocations: 3.188 kB / 2.436 GB, free: 59.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01768/6.241, allocations: 3.882 MB / 2.439 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/6.242, allocations: 202.3 kB / 2.44 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/6.246, allocations: 2.685 MB / 2.442 GB, free: 58.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/6.248, allocations: 81.05 kB / 2.442 GB, free: 58.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/6.248, allocations: 83.14 kB / 2.442 GB, free: 58.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/6.248, allocations: 3.656 kB / 2.442 GB, free: 58.91 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00623/6.254, allocations: 2.791 MB / 2.445 GB, free: 58.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/6.254, allocations: 5.719 kB / 2.445 GB, free: 58.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/6.255, allocations: 152.6 kB / 2.445 GB, free: 58.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/6.256, allocations: 278.9 kB / 2.446 GB, free: 58.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/6.258, allocations: 2.101 MB / 2.448 GB, free: 57.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/6.26, allocations: 78.44 kB / 2.448 GB, free: 57.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/6.26, allocations: 79.72 kB / 2.448 GB, free: 57.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0005379/6.261, allocations: 127.8 kB / 2.448 GB, free: 57.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/6.261, allocations: 107.5 kB / 2.448 GB, free: 57.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006229/6.268, allocations: 3.809 MB / 2.452 GB, free: 57.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/6.268, allocations: 7.75 kB / 2.452 GB, free: 57.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/6.268, allocations: 0 / 2.452 GB, free: 57.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/6.268, allocations: 2.906 kB / 2.452 GB, free: 57.36 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/6.273, allocations: 3.585 MB / 2.455 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/6.273, allocations: 0 / 2.455 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/6.274, allocations: 95.2 kB / 2.455 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009536/6.283, allocations: 2.755 MB / 2.458 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/6.284, allocations: 13.38 kB / 2.458 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/6.286, allocations: 2.259 MB / 2.46 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/6.286, allocations: 3.844 kB / 2.46 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/6.29, allocations: 2.187 MB / 2.462 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/6.29, allocations: 205.2 kB / 2.463 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/6.29, allocations: 0 / 2.463 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/6.292, allocations: 86.02 kB / 2.463 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/6.292, allocations: 58.56 kB / 2.463 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/6.292, allocations: 59.89 kB / 2.463 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006614/6.293, allocations: 0.6013 MB / 2.463 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.12e-07/6.293, allocations: 0 / 2.463 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004905/6.298, allocations: 1.817 MB / 2.465 GB, free: 55.71 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 () * 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.004948/6.302, allocations: 2.43 MB / 2.467 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004201/6.307, allocations: 3.179 MB / 2.471 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/6.307, allocations: 4.75 kB / 2.471 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/6.308, allocations: 0.7954 MB / 2.471 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/6.31, allocations: 472.5 kB / 2.472 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/6.313, allocations: 1.922 MB / 2.474 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/6.313, allocations: 1.336 MB / 2.475 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002314/6.316, allocations: 1.02 MB / 2.476 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/6.316, allocations: 88.14 kB / 2.476 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/6.316, allocations: 0 / 2.476 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of Templates: time 0.07097/6.387, allocations: 56.34 MB / 2.531 GB, free: 48.27 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/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