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.0009399/0.0009399, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.479/1.479, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007314/0.0007314, allocations: 85.42 kB / 271.9 MB, free: 8.281 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.3235/0.3235, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 8 kB / 432.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1068, allocations: 58.85 MB / 491.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.474/1.581, allocations: 0.632 GB / 1.112 GB, free: 170 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.582, allocations: 88.72 kB / 1.112 GB, free: 170 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.045/2.627, allocations: 356.1 MB / 1.46 GB, free: 37.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/2.627, allocations: 192 / 1.46 GB, free: 37.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001412/2.627, allocations: 35.78 kB / 1.46 GB, free: 37.35 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.005892/2.633, allocations: 1.677 MB / 1.461 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/2.633, allocations: 11.97 kB / 1.461 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/2.635, allocations: 205.8 kB / 1.462 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/2.637, allocations: 0.8486 MB / 1.462 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/2.637, allocations: 55.39 kB / 1.463 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/2.638, allocations: 59.12 kB / 1.463 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/2.64, allocations: 1.162 MB / 1.464 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/2.64, allocations: 3.938 kB / 1.464 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/2.64, allocations: 29.78 kB / 1.464 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/2.64, allocations: 81.25 kB / 1.464 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/2.642, allocations: 1.164 MB / 1.465 GB, free: 31.98 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.007112/2.649, allocations: 4.378 MB / 1.469 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/2.65, allocations: 0.7507 MB / 1.47 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/2.651, allocations: 370.3 kB / 1.47 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/2.652, allocations: 1.301 MB / 1.472 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/2.652, allocations: 47.11 kB / 1.472 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008299/2.653, allocations: 123.2 kB / 1.472 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 5.01e-06/2.653, allocations: 0 / 1.472 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.006515/2.659, allocations: 2.111 MB / 1.474 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/2.66, allocations: 214.2 kB / 1.474 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/2.661, allocations: 0.8845 MB / 1.475 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/2.661, allocations: 37.7 kB / 1.475 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/2.661, allocations: 443.9 kB / 1.475 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/2.661, allocations: 212.9 kB / 1.476 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/2.661, allocations: 20 kB / 1.476 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/2.661, allocations: 341.9 kB / 1.476 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/2.662, allocations: 377.8 kB / 1.476 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/2.663, allocations: 0.5788 MB / 1.477 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/2.664, allocations: 0.927 MB / 1.478 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/2.664, allocations: 0 / 1.478 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002164/2.666, allocations: 1.27 MB / 1.479 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/2.666, allocations: 216.3 kB / 1.479 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/2.666, allocations: 4 kB / 1.479 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004574/2.671, allocations: 0.839 MB / 1.48 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/2.672, allocations: 163.7 kB / 1.48 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/2.673, allocations: 1.185 MB / 1.481 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/2.674, allocations: 67.8 kB / 1.481 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/2.674, allocations: 67.98 kB / 1.481 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/2.674, allocations: 4.625 kB / 1.481 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002079/2.676, allocations: 1.066 MB / 1.482 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/2.676, allocations: 8 kB / 1.482 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/2.677, allocations: 160.9 kB / 1.483 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/2.678, allocations: 187.7 kB / 1.483 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/2.68, allocations: 2.175 MB / 1.485 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008958/2.681, allocations: 55.95 kB / 1.485 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/2.681, allocations: 67.92 kB / 1.485 GB, free: 10.45 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.0005911/2.682, allocations: 356.9 kB / 1.485 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/2.682, allocations: 98.78 kB / 1.485 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/2.685, allocations: 1.338 MB / 1.487 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/2.685, allocations: 4 kB / 1.487 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/2.685, allocations: 4 kB / 1.487 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/2.685, allocations: 3.938 kB / 1.487 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/2.687, allocations: 1.976 MB / 1.489 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/2.687, allocations: 4 kB / 1.489 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/2.688, allocations: 79.88 kB / 1.489 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003129/2.691, allocations: 0.6981 MB / 1.489 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/2.691, allocations: 20 kB / 1.49 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/2.692, allocations: 1.183 MB / 1.491 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/2.692, allocations: 4 kB / 1.491 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/2.694, allocations: 1.131 MB / 1.492 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/2.694, allocations: 183.8 kB / 1.492 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/2.694, allocations: 16 kB / 1.492 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008361/2.695, allocations: 59.78 kB / 1.492 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/2.695, allocations: 52.45 kB / 1.492 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/2.696, allocations: 47.97 kB / 1.492 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001082/2.697, allocations: 0.6205 MB / 1.493 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/2.697, allocations: 0 / 1.493 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005222/2.702, allocations: 1.217 MB / 1.494 GB, free: 1.164 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.2654/2.967, allocations: 1.809 MB / 1.496 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003731/2.971, allocations: 1.536 MB / 1.497 GB, free: 69.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/2.971, allocations: 2.25 kB / 1.497 GB, free: 69.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/2.972, allocations: 422.4 kB / 1.498 GB, free: 69.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/2.975, allocations: 0.5438 MB / 1.498 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/2.978, allocations: 1.994 MB / 1.5 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/2.979, allocations: 1.05 MB / 1.501 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/2.98, allocations: 126.9 kB / 1.501 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/2.98, allocations: 0 / 1.501 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.05354/3.033, allocations: 30.36 MB / 1.531 GB, free: 66.47 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