Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002191/0.002191, allocations: 179.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3397/0.3397, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.147e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.907/2.028, allocations: 0.599 GB / 1.072 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/2.029, allocations: 87.5 kB / 1.072 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.911/3.94, allocations: 349 MB / 1.413 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/3.94, allocations: 0 / 1.413 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001117/3.94, allocations: 30.25 kB / 1.413 GB, free: 94.05 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005655/3.946, allocations: 1.552 MB / 1.414 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/3.946, allocations: 15.41 kB / 1.414 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/3.948, allocations: 196.7 kB / 1.414 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/3.951, allocations: 0.8104 MB / 1.415 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/3.951, allocations: 56.12 kB / 1.415 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/3.951, allocations: 65.14 kB / 1.415 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/3.954, allocations: 1.125 MB / 1.416 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/3.954, allocations: 3.938 kB / 1.416 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/3.954, allocations: 28.77 kB / 1.416 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/3.954, allocations: 78.69 kB / 1.417 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/3.957, allocations: 1.116 MB / 1.418 GB, free: 92.23 MB / 0.5105 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.01098/3.968, allocations: 4.357 MB / 1.422 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/3.97, allocations: 0.7462 MB / 1.423 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007741/3.971, allocations: 345 kB / 1.423 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/3.971, allocations: 320.5 kB / 1.423 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/3.971, allocations: 46.38 kB / 1.423 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001245/3.973, allocations: 125.5 kB / 1.423 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 3.908e-06/3.973, allocations: 0 / 1.423 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.004424/3.977, allocations: 1.078 MB / 1.424 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/3.977, allocations: 216.3 kB / 1.425 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/3.979, allocations: 0.7691 MB / 1.425 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/3.979, allocations: 36.89 kB / 1.425 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/3.979, allocations: 441.2 kB / 1.426 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/3.979, allocations: 224.2 kB / 1.426 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/3.979, allocations: 13.62 kB / 1.426 GB, free: 87.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/3.979, allocations: 344.5 kB / 1.426 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009088/3.98, allocations: 355.2 kB / 1.427 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/3.981, allocations: 0.5491 MB / 1.427 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/3.982, allocations: 448.6 kB / 1.428 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/3.982, allocations: 0 / 1.428 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002965/3.985, allocations: 1.165 MB / 1.429 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003544/3.986, allocations: 1.75 MB / 1.431 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/3.986, allocations: 3.938 kB / 1.431 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008023/3.994, allocations: 0.813 MB / 1.431 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/3.995, allocations: 157.2 kB / 1.432 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/3.997, allocations: 1.192 MB / 1.433 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/3.999, allocations: 61.62 kB / 1.433 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/3.999, allocations: 68.38 kB / 1.433 GB, free: 82.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/3.999, allocations: 5.344 kB / 1.433 GB, free: 82.89 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003218/4.002, allocations: 1.026 MB / 1.434 GB, free: 82.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/4.002, allocations: 7.281 kB / 1.434 GB, free: 82.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009897/4.003, allocations: 139.2 kB / 1.434 GB, free: 82.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/4.005, allocations: 194.8 kB / 1.434 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/4.008, allocations: 2.11 MB / 1.436 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/4.009, allocations: 58.77 kB / 1.436 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/4.01, allocations: 67.5 kB / 1.436 GB, free: 80.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003466/4.01, allocations: 151.4 kB / 1.436 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/4.01, allocations: 102.8 kB / 1.437 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/4.014, allocations: 1.286 MB / 1.438 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/4.014, allocations: 4 kB / 1.438 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/4.014, allocations: 1.531 kB / 1.438 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/4.014, allocations: 7.688 kB / 1.438 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/4.018, allocations: 1.933 MB / 1.44 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/4.018, allocations: 4 kB / 1.44 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/4.019, allocations: 81.55 kB / 1.44 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005251/4.024, allocations: 0.6845 MB / 1.44 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/4.024, allocations: 27.98 kB / 1.441 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/4.026, allocations: 1.169 MB / 1.442 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/4.026, allocations: 4 kB / 1.442 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/4.029, allocations: 1.142 MB / 1.443 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/4.029, allocations: 187.8 kB / 1.443 GB, free: 74.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/4.029, allocations: 16 kB / 1.443 GB, free: 74.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/4.03, allocations: 58.45 kB / 1.443 GB, free: 74.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/4.031, allocations: 47.22 kB / 1.443 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/4.031, allocations: 43.98 kB / 1.443 GB, free: 74.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001103/4.032, allocations: 0.6091 MB / 1.444 GB, free: 73.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/4.032, allocations: 0 / 1.444 GB, free: 73.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004335/4.036, allocations: 1.225 MB / 1.445 GB, free: 72.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00466/4.041, allocations: 1.815 MB / 1.447 GB, free: 70.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00393/4.045, allocations: 1.473 MB / 1.448 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/4.045, allocations: 4 kB / 1.448 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009774/4.046, allocations: 389.8 kB / 1.448 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/4.05, allocations: 0.5482 MB / 1.449 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/4.053, allocations: 1.258 MB / 1.45 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/4.053, allocations: 1.066 MB / 1.451 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/4.054, allocations: 123.5 kB / 1.451 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of SimCode: time 8.91e-07/4.054, allocations: 3.094 kB / 1.451 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.05575/4.11, allocations: 30.81 MB / 1.482 GB, free: 35.44 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionIdeal/TestJunctionIdeal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches