Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007691/0.0007691, allocations: 111.5 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3168/0.3168, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003138, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3536, allocations: 62.95 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/1.828, allocations: 0.76 GB / 1.276 GB, free: 54.93 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.829, allocations: 93.2 kB / 1.277 GB, free: 54.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.572/6.401, allocations: 1.143 GB / 2.419 GB, free: 58.74 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.376e-06/6.401, allocations: 0 / 2.419 GB, free: 58.74 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001216/6.401, allocations: 38 kB / 2.419 GB, free: 58.74 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.01833/6.42, allocations: 2.609 MB / 2.422 GB, free: 58.06 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/6.42, allocations: 8.312 kB / 2.422 GB, free: 58.06 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/6.425, allocations: 455.8 kB / 2.422 GB, free: 57.97 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/6.43, allocations: 1.227 MB / 2.423 GB, free: 57.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/6.43, allocations: 91.5 kB / 2.424 GB, free: 57.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000696/6.431, allocations: 114.3 kB / 2.424 GB, free: 57.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006629/6.438, allocations: 2.957 MB / 2.427 GB, free: 57.47 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/6.438, allocations: 3.5 kB / 2.427 GB, free: 57.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003288/6.438, allocations: 59.23 kB / 2.427 GB, free: 57.47 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/6.438, allocations: 136.5 kB / 2.427 GB, free: 57.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007741/6.446, allocations: 3.692 MB / 2.43 GB, free: 57.45 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.02178/6.468, allocations: 8.474 MB / 2.439 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/6.472, allocations: 1.566 MB / 2.44 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/6.474, allocations: 0.8074 MB / 2.441 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/6.476, allocations: 0.754 MB / 2.442 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.629e-05/6.476, allocations: 51.33 kB / 2.442 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005033/6.481, allocations: 0.8354 MB / 2.443 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 2.555e-05/6.481, allocations: 3.891 kB / 2.443 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.01632/6.497, allocations: 4.246 MB / 2.447 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/6.497, allocations: 138.2 kB / 2.447 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/6.501, allocations: 1.671 MB / 2.448 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004447/6.502, allocations: 47.2 kB / 2.448 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008869/6.503, allocations: 0.642 MB / 2.449 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000627/6.503, allocations: 262.6 kB / 2.449 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/6.504, allocations: 18.62 kB / 2.449 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001684/6.504, allocations: 353.4 kB / 2.45 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/6.506, allocations: 0.8516 MB / 2.451 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/6.507, allocations: 1.053 MB / 2.452 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003231/6.511, allocations: 1.851 MB / 2.453 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/6.511, allocations: 3.75 kB / 2.453 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006087/6.517, allocations: 2.711 MB / 2.456 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002482/6.517, allocations: 229.8 kB / 2.456 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/6.517, allocations: 3.188 kB / 2.456 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01904/6.536, allocations: 3.725 MB / 2.46 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/6.538, allocations: 188.8 kB / 2.46 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/6.542, allocations: 2.26 MB / 2.462 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/6.545, allocations: 84.8 kB / 2.462 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005339/6.545, allocations: 92.19 kB / 2.462 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/6.545, allocations: 3.969 kB / 2.462 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004722/6.55, allocations: 2.109 MB / 2.465 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/6.55, allocations: 4.094 kB / 2.465 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/6.551, allocations: 161.3 kB / 2.465 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/6.552, allocations: 267.7 kB / 2.465 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/6.555, allocations: 2.171 MB / 2.467 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/6.558, allocations: 81.3 kB / 2.467 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004399/6.558, allocations: 90.2 kB / 2.467 GB, free: 50.35 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.001783/6.56, allocations: 0.4991 MB / 2.468 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008529/6.561, allocations: 155 kB / 2.468 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007895/6.569, allocations: 3.297 MB / 2.471 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/6.569, allocations: 8.094 kB / 2.471 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/6.569, allocations: 0 / 2.471 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/6.569, allocations: 7.688 kB / 2.471 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009249/6.578, allocations: 3.276 MB / 2.474 GB, free: 49.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/6.578, allocations: 3.844 kB / 2.474 GB, free: 49.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/6.579, allocations: 84.36 kB / 2.474 GB, free: 49.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01157/6.591, allocations: 2.562 MB / 2.477 GB, free: 49.58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003506/6.591, allocations: 26.5 kB / 2.477 GB, free: 49.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/6.594, allocations: 1.975 MB / 2.479 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/6.594, allocations: 7.688 kB / 2.479 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/6.598, allocations: 1.911 MB / 2.481 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/6.599, allocations: 278 kB / 2.481 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007859/6.6, allocations: 12.94 kB / 2.481 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/6.602, allocations: 83.75 kB / 2.481 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/6.602, allocations: 58.84 kB / 2.481 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002783/6.603, allocations: 59.52 kB / 2.481 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002725/6.605, allocations: 1.185 MB / 2.482 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.9e-07/6.605, allocations: 0 / 2.482 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009366/6.615, allocations: 1.754 MB / 2.484 GB, free: 48.3 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.009343/6.624, allocations: 2.236 MB / 2.486 GB, free: 47.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007557/6.632, allocations: 3.021 MB / 2.489 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/6.632, allocations: 5.844 kB / 2.489 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/6.634, allocations: 0.7277 MB / 2.49 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006844/6.64, allocations: 0.9326 MB / 2.491 GB, free: 47.69 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/6.647, allocations: 3.012 MB / 2.494 GB, free: 46.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/6.649, allocations: 1.289 MB / 2.495 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/6.649, allocations: 136.5 kB / 2.495 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of SimCode: time 1.853e-06/6.649, allocations: 0 / 2.495 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of Templates: time 0.09373/6.743, allocations: 49.94 MB / 2.544 GB, free: 42.48 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches