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.001438/0.001437, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.654/1.654, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001092/0.001092, allocations: 94.88 kB / 270.2 MB, free: 13.37 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.2141/0.2141, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 58.87 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.934/2.073, allocations: 0.6317 GB / 1.11 GB, free: 162 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004016/2.074, allocations: 90.78 kB / 1.111 GB, free: 162 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.2/3.274, allocations: 356.7 MB / 1.459 GB, free: 54.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.087e-06/3.274, allocations: 3.094 kB / 1.459 GB, free: 54.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001521/3.274, allocations: 24 kB / 1.459 GB, free: 54.11 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.007347/3.281, allocations: 1.693 MB / 1.461 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.585e-05/3.281, allocations: 10.84 kB / 1.461 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/3.283, allocations: 202.6 kB / 1.461 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/3.285, allocations: 0.8232 MB / 1.462 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/3.286, allocations: 49.3 kB / 1.462 GB, free: 51.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/3.286, allocations: 59.98 kB / 1.462 GB, free: 51.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/3.288, allocations: 1.167 MB / 1.463 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/3.288, allocations: 0 / 1.463 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/3.288, allocations: 35.09 kB / 1.463 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/3.288, allocations: 73.27 kB / 1.463 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/3.291, allocations: 1.171 MB / 1.464 GB, free: 48.7 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.009012/3.3, allocations: 4.349 MB / 1.468 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/3.302, allocations: 0.7786 MB / 1.469 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/3.302, allocations: 326.7 kB / 1.469 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/3.302, allocations: 39.12 kB / 1.469 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000972/3.303, allocations: 126.6 kB / 1.47 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 5.28e-06/3.303, allocations: 0 / 1.47 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.008878/3.312, allocations: 2.05 MB / 1.472 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/3.312, allocations: 218.2 kB / 1.472 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/3.314, allocations: 0.7822 MB / 1.473 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/3.314, allocations: 41.7 kB / 1.473 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/3.314, allocations: 436 kB / 1.473 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/3.314, allocations: 216.9 kB / 1.473 GB, free: 39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/3.314, allocations: 16 kB / 1.473 GB, free: 38.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/3.314, allocations: 334 kB / 1.474 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008838/3.315, allocations: 385.8 kB / 1.474 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/3.316, allocations: 0.5749 MB / 1.474 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/3.317, allocations: 467 kB / 1.475 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/3.317, allocations: 4 kB / 1.475 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002428/3.32, allocations: 1.273 MB / 1.476 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004027/3.32, allocations: 1.745 MB / 1.478 GB, free: 33.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/3.32, allocations: 7.984 kB / 1.478 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005745/3.326, allocations: 0.8357 MB / 1.479 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/3.327, allocations: 155.8 kB / 1.479 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/3.328, allocations: 1.189 MB / 1.48 GB, free: 31.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/3.33, allocations: 68.05 kB / 1.48 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/3.33, allocations: 67.92 kB / 1.48 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/3.33, allocations: 6.969 kB / 1.48 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002427/3.332, allocations: 1.074 MB / 1.481 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/3.332, allocations: 4 kB / 1.481 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008229/3.333, allocations: 156.9 kB / 1.481 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/3.334, allocations: 191.7 kB / 1.482 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/3.336, allocations: 2.207 MB / 1.484 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/3.337, allocations: 63.94 kB / 1.484 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/3.338, allocations: 71.94 kB / 1.484 GB, free: 27.74 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.0007586/3.338, allocations: 348.9 kB / 1.484 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/3.339, allocations: 106.8 kB / 1.484 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/3.341, allocations: 1.328 MB / 1.486 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/3.341, allocations: 15.94 kB / 1.486 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/3.341, allocations: 0 / 1.486 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/3.341, allocations: 7.984 kB / 1.486 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/3.343, allocations: 1.972 MB / 1.488 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/3.343, allocations: 4 kB / 1.488 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/3.344, allocations: 79.89 kB / 1.488 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003199/3.347, allocations: 0.6942 MB / 1.488 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/3.347, allocations: 23.98 kB / 1.488 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/3.348, allocations: 1.181 MB / 1.489 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/3.348, allocations: 0 / 1.489 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/3.35, allocations: 1.201 MB / 1.491 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/3.35, allocations: 183.8 kB / 1.491 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/3.35, allocations: 12 kB / 1.491 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/3.351, allocations: 59.86 kB / 1.491 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/3.351, allocations: 44.5 kB / 1.491 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/3.351, allocations: 47.98 kB / 1.491 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000902/3.352, allocations: 0.6283 MB / 1.492 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/3.352, allocations: 0 / 1.492 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005132/3.357, allocations: 1.233 MB / 1.493 GB, free: 18.34 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 () * 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.00708/3.364, allocations: 1.807 MB / 1.495 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004152/3.369, allocations: 1.533 MB / 1.496 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/3.369, allocations: 4 kB / 1.496 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/3.37, allocations: 427.5 kB / 1.496 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/3.373, allocations: 0.5421 MB / 1.497 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/3.376, allocations: 1.929 MB / 1.499 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/3.377, allocations: 1.071 MB / 1.5 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002006/3.379, allocations: 455.8 kB / 1.5 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/3.379, allocations: 99.41 kB / 1.5 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/3.379, allocations: 0 / 1.5 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.4124/3.792, allocations: 43.76 MB / 1.543 GB, free: 76.73 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/jenkins/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