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.001497/0.001497, allocations: 185.7 kB / 16.41 MB, free: 5.723 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.926/1.926, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001113/0.001113, allocations: 89.89 kB / 270.9 MB, free: 8.383 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.502/0.502, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006378, allocations: 8 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1347, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.18/2.315, allocations: 0.6318 GB / 1.11 GB, free: 123 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/2.315, allocations: 85.52 kB / 1.111 GB, free: 123 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.991/4.306, allocations: 356.7 MB / 1.459 GB, free: 54.52 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.805e-06/4.306, allocations: 0 / 1.459 GB, free: 54.52 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001132/4.306, allocations: 30.36 kB / 1.459 GB, free: 54.52 MB / 0.4949 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.007313/4.314, allocations: 1.7 MB / 1.461 GB, free: 53.9 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/4.314, allocations: 10.47 kB / 1.461 GB, free: 53.9 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/4.316, allocations: 200.1 kB / 1.461 GB, free: 53.84 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/4.319, allocations: 0.8138 MB / 1.462 GB, free: 53.59 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/4.319, allocations: 50.69 kB / 1.462 GB, free: 53.59 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/4.319, allocations: 65.84 kB / 1.462 GB, free: 53.59 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/4.323, allocations: 1.161 MB / 1.463 GB, free: 53.41 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/4.323, allocations: 0 / 1.463 GB, free: 53.41 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/4.323, allocations: 32.84 kB / 1.463 GB, free: 53.41 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001707/4.323, allocations: 81.91 kB / 1.463 GB, free: 53.4 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/4.326, allocations: 1.164 MB / 1.464 GB, free: 53.4 MB / 0.4949 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.01201/4.338, allocations: 4.357 MB / 1.468 GB, free: 51.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/4.341, allocations: 0.7725 MB / 1.469 GB, free: 51.58 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000477/4.342, allocations: 323.9 kB / 1.469 GB, free: 51.3 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/4.342, allocations: 46.72 kB / 1.469 GB, free: 51.26 MB / 0.4949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001421/4.343, allocations: 138.5 kB / 1.47 GB, free: 51.23 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=61): time 3.597e-06/4.343, allocations: 0 / 1.47 GB, free: 51.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=61): time 0.01305/4.356, allocations: 2.042 MB / 1.472 GB, free: 51.04 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/4.356, allocations: 217.7 kB / 1.472 GB, free: 50.79 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/4.358, allocations: 0.7801 MB / 1.473 GB, free: 50.65 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0002869/4.358, allocations: 38.61 kB / 1.473 GB, free: 50.62 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/4.359, allocations: 436.8 kB / 1.473 GB, free: 50.39 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/4.359, allocations: 218.6 kB / 1.473 GB, free: 50.29 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/4.359, allocations: 17.81 kB / 1.473 GB, free: 50.29 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001019/4.359, allocations: 341.8 kB / 1.474 GB, free: 49.98 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/4.361, allocations: 382.9 kB / 1.474 GB, free: 49.98 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/4.362, allocations: 0.5728 MB / 1.474 GB, free: 49.77 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/4.363, allocations: 479.2 kB / 1.475 GB, free: 49.76 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/4.363, allocations: 1.188 kB / 1.475 GB, free: 49.76 MB / 0.4949 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003806/4.367, allocations: 1.205 MB / 1.476 GB, free: 49.69 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004094/4.368, allocations: 1.747 MB / 1.478 GB, free: 47.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/4.368, allocations: 8.531 kB / 1.478 GB, free: 47.88 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009073/4.377, allocations: 0.8319 MB / 1.479 GB, free: 47.86 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/4.378, allocations: 162.3 kB / 1.479 GB, free: 47.86 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/4.381, allocations: 1.186 MB / 1.48 GB, free: 47.33 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/4.383, allocations: 65.78 kB / 1.48 GB, free: 47.33 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/4.383, allocations: 74.28 kB / 1.48 GB, free: 47.33 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/4.383, allocations: 7.375 kB / 1.48 GB, free: 47.33 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004099/4.387, allocations: 1.068 MB / 1.481 GB, free: 47.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/4.387, allocations: 4.062 kB / 1.481 GB, free: 47.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/4.388, allocations: 145.2 kB / 1.481 GB, free: 47.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/4.39, allocations: 188.2 kB / 1.481 GB, free: 47.29 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/4.394, allocations: 2.173 MB / 1.484 GB, free: 46.03 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/4.396, allocations: 58.94 kB / 1.484 GB, free: 46.02 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/4.396, allocations: 72.17 kB / 1.484 GB, free: 46.02 MB / 0.4949 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.0009207/4.397, allocations: 352.8 kB / 1.484 GB, free: 45.84 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/4.397, allocations: 96.59 kB / 1.484 GB, free: 45.79 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/4.402, allocations: 1.335 MB / 1.485 GB, free: 45.68 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/4.402, allocations: 10.3 kB / 1.485 GB, free: 45.68 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/4.402, allocations: 3.375 kB / 1.485 GB, free: 45.68 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/4.402, allocations: 4.719 kB / 1.485 GB, free: 45.68 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/4.407, allocations: 1.973 MB / 1.487 GB, free: 45.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/4.407, allocations: 2.812 kB / 1.487 GB, free: 45.31 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/4.408, allocations: 81.41 kB / 1.487 GB, free: 45.31 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005892/4.414, allocations: 0.6997 MB / 1.488 GB, free: 45.3 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/4.414, allocations: 22.75 kB / 1.488 GB, free: 45.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/4.416, allocations: 1.182 MB / 1.489 GB, free: 44.77 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/4.416, allocations: 2.25 kB / 1.489 GB, free: 44.77 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/4.421, allocations: 1.196 MB / 1.49 GB, free: 44.41 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/4.423, allocations: 182.8 kB / 1.491 GB, free: 44.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006934/4.423, allocations: 12.66 kB / 1.491 GB, free: 44.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00246/4.426, allocations: 53.17 kB / 1.491 GB, free: 44.27 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/4.426, allocations: 54.61 kB / 1.491 GB, free: 44.27 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/4.427, allocations: 50.64 kB / 1.491 GB, free: 44.27 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002189/4.429, allocations: 0.6137 MB / 1.491 GB, free: 44.16 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.442e-06/4.429, allocations: 1.156 kB / 1.491 GB, free: 44.16 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01232/4.441, allocations: 1.223 MB / 1.493 GB, free: 44 MB / 0.4949 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.009022/4.45, allocations: 1.814 MB / 1.494 GB, free: 43.65 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01009/4.46, allocations: 1.538 MB / 1.496 GB, free: 43.51 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/4.461, allocations: 0 / 1.496 GB, free: 43.51 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002686/4.463, allocations: 425.7 kB / 1.496 GB, free: 43.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008251/4.472, allocations: 0.5342 MB / 1.497 GB, free: 43.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/4.479, allocations: 1.987 MB / 1.499 GB, free: 42.63 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/4.48, allocations: 1.072 MB / 1.5 GB, free: 41.92 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008975/4.481, allocations: 123.9 kB / 1.5 GB, free: 41.91 MB / 0.4949 GB Notification: Performance of SimCode: time 2.434e-06/4.481, allocations: 0 / 1.5 GB, free: 41.91 MB / 0.4949 GB Notification: Performance of Templates: time 0.06111/4.542, allocations: 30.93 MB / 1.53 GB, free: 39.87 MB / 0.4949 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