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.001491/0.001491, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 91.16 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3472/0.3472, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.683e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4147, allocations: 58.86 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.859/2.274, allocations: 0.5983 GB / 1.064 GB, free: 135 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/2.274, allocations: 86.45 kB / 1.064 GB, free: 135 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.951/4.225, allocations: 345.5 MB / 1.402 GB, free: 64.43 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.294e-06/4.225, allocations: 3.188 kB / 1.402 GB, free: 64.43 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001669/4.225, allocations: 29.48 kB / 1.402 GB, free: 64.43 MB / 0.4952 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.007187/4.232, allocations: 1.556 MB / 1.403 GB, free: 64.03 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/4.232, allocations: 9.625 kB / 1.403 GB, free: 64.03 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/4.234, allocations: 198.3 kB / 1.403 GB, free: 63.97 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/4.238, allocations: 0.814 MB / 1.404 GB, free: 63.72 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.101e-05/4.238, allocations: 21.69 kB / 1.404 GB, free: 63.72 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/4.238, allocations: 37.91 kB / 1.404 GB, free: 63.72 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003109/4.241, allocations: 0.9735 MB / 1.405 GB, free: 63.72 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/4.245, allocations: 1.041 MB / 1.406 GB, free: 63.55 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/4.245, allocations: 2.344 kB / 1.406 GB, free: 63.55 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/4.245, allocations: 7.219 kB / 1.406 GB, free: 63.55 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/4.245, allocations: 84.09 kB / 1.406 GB, free: 63.54 MB / 0.4952 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.01456/4.26, allocations: 4.325 MB / 1.411 GB, free: 61.79 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/4.262, allocations: 0.642 MB / 1.411 GB, free: 61.77 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008556/4.263, allocations: 298.3 kB / 1.411 GB, free: 61.76 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000479/4.264, allocations: 324 kB / 1.412 GB, free: 61.47 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/4.264, allocations: 40.64 kB / 1.412 GB, free: 61.43 MB / 0.4952 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00136/4.265, allocations: 97.58 kB / 1.412 GB, free: 61.42 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=49): time 5.941e-06/4.265, allocations: 0 / 1.412 GB, free: 61.42 MB / 0.4952 GB Notification: Performance of matching and sorting (n=49): time 0.004474/4.27, allocations: 0.9394 MB / 1.413 GB, free: 61.33 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/4.27, allocations: 213.2 kB / 1.413 GB, free: 61.08 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/4.271, allocations: 0.6572 MB / 1.414 GB, free: 60.96 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.000257/4.272, allocations: 27.02 kB / 1.414 GB, free: 60.93 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/4.272, allocations: 0.4927 MB / 1.414 GB, free: 60.66 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/4.273, allocations: 173.6 kB / 1.414 GB, free: 60.57 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/4.273, allocations: 0 / 1.414 GB, free: 60.57 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001042/4.273, allocations: 345.9 kB / 1.415 GB, free: 60.26 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/4.274, allocations: 356.2 kB / 1.415 GB, free: 60.26 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/4.275, allocations: 0.545 MB / 1.416 GB, free: 60.05 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0169/4.292, allocations: 1.863 MB / 1.417 GB, free: 60.04 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/4.292, allocations: 1.469 kB / 1.417 GB, free: 60.04 MB / 0.4952 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01846/4.311, allocations: 2.551 MB / 1.42 GB, free: 59.97 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003836/4.311, allocations: 1.748 MB / 1.422 GB, free: 58.16 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/4.311, allocations: 4.125 kB / 1.422 GB, free: 58.16 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006157/4.317, allocations: 0.619 MB / 1.422 GB, free: 58.15 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/4.319, allocations: 157.6 kB / 1.422 GB, free: 58.15 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/4.322, allocations: 1.338 MB / 1.424 GB, free: 57.62 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/4.324, allocations: 44.83 kB / 1.424 GB, free: 57.62 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/4.324, allocations: 71.12 kB / 1.424 GB, free: 57.62 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/4.324, allocations: 7.422 kB / 1.424 GB, free: 57.61 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01817/4.342, allocations: 2.331 MB / 1.426 GB, free: 57.58 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/4.342, allocations: 8.141 kB / 1.426 GB, free: 57.58 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/4.344, allocations: 136.5 kB / 1.426 GB, free: 57.57 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/4.345, allocations: 192.1 kB / 1.426 GB, free: 57.57 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/4.349, allocations: 2.033 MB / 1.428 GB, free: 56.37 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/4.35, allocations: 49.27 kB / 1.428 GB, free: 56.37 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/4.351, allocations: 65.09 kB / 1.428 GB, free: 56.37 MB / 0.4952 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.0003716/4.351, allocations: 123.8 kB / 1.429 GB, free: 56.26 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/4.351, allocations: 81.38 kB / 1.429 GB, free: 56.22 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/4.355, allocations: 1.073 MB / 1.43 GB, free: 56.13 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/4.355, allocations: 3.594 kB / 1.43 GB, free: 56.13 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/4.355, allocations: 0 / 1.43 GB, free: 56.13 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/4.355, allocations: 3.703 kB / 1.43 GB, free: 56.13 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/4.36, allocations: 1.716 MB / 1.431 GB, free: 55.83 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/4.36, allocations: 3.25 kB / 1.431 GB, free: 55.83 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/4.361, allocations: 54.19 kB / 1.431 GB, free: 55.83 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/4.364, allocations: 476.6 kB / 1.432 GB, free: 55.82 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/4.364, allocations: 9 kB / 1.432 GB, free: 55.82 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/4.367, allocations: 1.284 MB / 1.433 GB, free: 55.28 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/4.367, allocations: 3.875 kB / 1.433 GB, free: 55.28 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/4.37, allocations: 1.02 MB / 1.434 GB, free: 55.04 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/4.371, allocations: 180.9 kB / 1.434 GB, free: 54.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/4.371, allocations: 3.953 kB / 1.434 GB, free: 54.89 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/4.373, allocations: 36.59 kB / 1.434 GB, free: 54.89 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/4.373, allocations: 44.77 kB / 1.434 GB, free: 54.89 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.995e-05/4.373, allocations: 29.94 kB / 1.434 GB, free: 54.89 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0009776/4.374, allocations: 0.4953 MB / 1.435 GB, free: 54.8 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.844e-06/4.374, allocations: 0 / 1.435 GB, free: 54.8 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.005813/4.38, allocations: 1.2 MB / 1.436 GB, free: 54.62 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.006497/4.386, allocations: 1.992 MB / 1.438 GB, free: 54.29 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.004265/4.391, allocations: 1.38 MB / 1.439 GB, free: 54.18 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/4.391, allocations: 3.344 kB / 1.439 GB, free: 54.18 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.000936/4.392, allocations: 331.2 kB / 1.44 GB, free: 54.17 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/4.395, allocations: 427.1 kB / 1.44 GB, free: 54.16 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/4.399, allocations: 1.162 MB / 1.441 GB, free: 53.81 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/4.4, allocations: 1.063 MB / 1.442 GB, free: 69.1 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007752/4.401, allocations: 107.9 kB / 1.442 GB, free: 69.09 MB / 0.5108 GB Notification: Performance of SimCode: time 1.092e-06/4.401, allocations: 0 / 1.442 GB, free: 69.09 MB / 0.5108 GB Notification: Performance of Templates: time 0.06135/4.463, allocations: 29.85 MB / 1.472 GB, free: 67.71 MB / 0.5108 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