Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001026/0.001026, allocations: 171.2 kB / 16.76 MB, free: 5.051 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.626/1.626, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008142/0.0008143, allocations: 89.06 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3782/0.3782, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004182, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1475, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.708/1.855, allocations: 0.6319 GB / 1.112 GB, free: 170 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/1.856, allocations: 86.64 kB / 1.112 GB, free: 170 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.105/2.961, allocations: 356.1 MB / 1.46 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/2.961, allocations: 0 / 1.46 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001332/2.961, allocations: 28 kB / 1.46 GB, free: 36.65 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.005862/2.967, allocations: 1.684 MB / 1.461 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/2.967, allocations: 15.97 kB / 1.461 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/2.969, allocations: 205.6 kB / 1.462 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/2.971, allocations: 0.8459 MB / 1.462 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/2.971, allocations: 57.12 kB / 1.463 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/2.971, allocations: 62.88 kB / 1.463 GB, free: 33.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/2.973, allocations: 1.161 MB / 1.464 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/2.973, allocations: 0 / 1.464 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/2.973, allocations: 27.98 kB / 1.464 GB, free: 32.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/2.974, allocations: 81.25 kB / 1.464 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/2.976, allocations: 1.164 MB / 1.465 GB, free: 31.27 MB / 0.5105 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.007296/2.983, allocations: 4.388 MB / 1.469 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/2.984, allocations: 0.7517 MB / 1.47 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/2.985, allocations: 362.4 kB / 1.47 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/2.986, allocations: 1.304 MB / 1.472 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/2.986, allocations: 39.12 kB / 1.472 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007945/2.987, allocations: 131.1 kB / 1.472 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 6.232e-06/2.987, allocations: 0 / 1.472 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.006214/2.993, allocations: 2.107 MB / 1.474 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/2.993, allocations: 218.2 kB / 1.474 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/2.994, allocations: 0.8729 MB / 1.475 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/2.994, allocations: 41.7 kB / 1.475 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/2.994, allocations: 439.9 kB / 1.475 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/2.995, allocations: 216.9 kB / 1.476 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/2.995, allocations: 16 kB / 1.476 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/2.995, allocations: 341.9 kB / 1.476 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/2.995, allocations: 377.8 kB / 1.476 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/2.996, allocations: 0.5827 MB / 1.477 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/2.997, allocations: 0.927 MB / 1.478 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/2.997, allocations: 0 / 1.478 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00207/2.999, allocations: 1.274 MB / 1.479 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/3, allocations: 223.9 kB / 1.479 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/3, allocations: 4 kB / 1.479 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004389/3.004, allocations: 0.8312 MB / 1.48 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/3.005, allocations: 155.8 kB / 1.48 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/3.006, allocations: 1.193 MB / 1.481 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/3.007, allocations: 63.92 kB / 1.481 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/3.007, allocations: 67.98 kB / 1.481 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/3.007, allocations: 7.938 kB / 1.481 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/3.009, allocations: 1.07 MB / 1.483 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/3.009, allocations: 4 kB / 1.483 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/3.01, allocations: 164.8 kB / 1.483 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/3.011, allocations: 195.8 kB / 1.483 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/3.013, allocations: 2.16 MB / 1.485 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/3.014, allocations: 63.83 kB / 1.485 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/3.014, allocations: 68.05 kB / 1.485 GB, free: 9.699 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 () * Number of clocked 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.0006098/3.015, allocations: 352.9 kB / 1.485 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/3.015, allocations: 102.8 kB / 1.486 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/3.017, allocations: 1.328 MB / 1.487 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/3.017, allocations: 7.984 kB / 1.487 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.743e-05/3.017, allocations: 3.938 kB / 1.487 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/3.017, allocations: 3.938 kB / 1.487 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/3.02, allocations: 1.976 MB / 1.489 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/3.02, allocations: 8 kB / 1.489 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/3.021, allocations: 75.89 kB / 1.489 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/3.024, allocations: 0.6981 MB / 1.49 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/3.024, allocations: 20 kB / 1.49 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/3.025, allocations: 1.175 MB / 1.491 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/3.025, allocations: 4 kB / 1.491 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/3.027, allocations: 1.131 MB / 1.492 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/3.027, allocations: 187.8 kB / 1.492 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/3.027, allocations: 20 kB / 1.492 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/3.028, allocations: 51.86 kB / 1.492 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/3.028, allocations: 56.38 kB / 1.492 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/3.028, allocations: 51.97 kB / 1.492 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008502/3.029, allocations: 0.6166 MB / 1.493 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/3.029, allocations: 0 / 1.493 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0042/3.033, allocations: 1.221 MB / 1.494 GB, free: 428 kB / 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 () * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.2922/3.326, allocations: 1.805 MB / 1.496 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003855/3.329, allocations: 1.535 MB / 1.497 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/3.329, allocations: 1.25 kB / 1.497 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009282/3.33, allocations: 425.8 kB / 1.498 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/3.334, allocations: 0.5481 MB / 1.498 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/3.337, allocations: 1.932 MB / 1.5 GB, free: 68.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/3.337, allocations: 1.054 MB / 1.501 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001974/3.339, allocations: 457.2 kB / 1.502 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/3.34, allocations: 100.1 kB / 1.502 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/3.34, allocations: 0 / 1.502 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.0695/3.409, allocations: 44.74 MB / 1.545 GB, free: 66.35 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches