Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.269/1.269, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009005/0.0009007, allocations: 88.27 kB / 267.1 MB, free: 9.277 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.3383/0.3383, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.024e-05, allocations: 4 kB / 425.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 58.84 MB / 484.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.422, allocations: 0.6029 GB / 1.076 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.422, allocations: 89.02 kB / 1.076 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.341/2.764, allocations: 412.2 MB / 1.478 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/2.764, allocations: 0 / 1.478 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.564e-05/2.764, allocations: 24 kB / 1.478 GB, free: 28.55 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004641/2.768, allocations: 1.902 MB / 1.48 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/2.768, allocations: 11.97 kB / 1.48 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/2.769, allocations: 210.5 kB / 1.48 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/2.771, allocations: 0.8714 MB / 1.481 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/2.771, allocations: 61.97 kB / 1.481 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/2.771, allocations: 79.91 kB / 1.481 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/2.773, allocations: 1.212 MB / 1.483 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/2.773, allocations: 4 kB / 1.483 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.743e-05/2.773, allocations: 27.98 kB / 1.483 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.153e-05/2.773, allocations: 85.94 kB / 1.483 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/2.774, allocations: 1.179 MB / 1.484 GB, free: 22.76 MB / 0.5105 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.005838/2.78, allocations: 4.866 MB / 1.489 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/2.781, allocations: 0.7019 MB / 1.489 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/2.782, allocations: 358.4 kB / 1.49 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/2.782, allocations: 322.2 kB / 1.49 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/2.782, allocations: 43.06 kB / 1.49 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.066e-06/2.782, allocations: 0 / 1.49 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.005763/2.788, allocations: 2.405 MB / 1.492 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/2.788, allocations: 214.4 kB / 1.493 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/2.789, allocations: 0.8209 MB / 1.493 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/2.789, allocations: 37.7 kB / 1.493 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/2.789, allocations: 479.6 kB / 1.494 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/2.789, allocations: 260.2 kB / 1.494 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/2.789, allocations: 16 kB / 1.494 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.97e-05/2.789, allocations: 345.9 kB / 1.494 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/2.79, allocations: 389.8 kB / 1.495 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/2.79, allocations: 0.6105 MB / 1.495 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/2.791, allocations: 473.9 kB / 1.496 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/2.791, allocations: 4 kB / 1.496 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001841/2.793, allocations: 1.355 MB / 1.497 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003865/2.793, allocations: 2.187 MB / 1.499 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/2.793, allocations: 8 kB / 1.499 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/2.796, allocations: 0.689 MB / 1.5 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/2.797, allocations: 179.7 kB / 1.5 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/2.798, allocations: 1.275 MB / 1.501 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008959/2.799, allocations: 75.94 kB / 1.501 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/2.799, allocations: 91.98 kB / 1.502 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/2.799, allocations: 4 kB / 1.502 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001453/2.8, allocations: 1.105 MB / 1.503 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/2.8, allocations: 8 kB / 1.503 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/2.802, allocations: 348.6 kB / 1.503 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/2.802, allocations: 203.7 kB / 1.503 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007131/2.803, allocations: 0.962 MB / 1.504 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/2.804, allocations: 75.84 kB / 1.504 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/2.804, allocations: 87.98 kB / 1.504 GB, free: 0.9883 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0002082/2.804, allocations: 165.6 kB / 1.504 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/2.804, allocations: 110.7 kB / 1.505 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3125/3.117, allocations: 1.309 MB / 1.506 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/3.117, allocations: 7.188 kB / 1.506 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/3.117, allocations: 2.125 kB / 1.506 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/3.117, allocations: 3.562 kB / 1.506 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/3.121, allocations: 2.063 MB / 1.508 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/3.121, allocations: 5.922 kB / 1.508 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008047/3.122, allocations: 181.4 kB / 1.508 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/3.122, allocations: 25.05 kB / 1.508 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/3.122, allocations: 33.34 kB / 1.508 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/3.123, allocations: 1.28 MB / 1.509 GB, free: 55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/3.123, allocations: 8.641 kB / 1.509 GB, free: 55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/3.125, allocations: 1.588 MB / 1.511 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/3.126, allocations: 196.2 kB / 1.511 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/3.126, allocations: 15.94 kB / 1.511 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/3.127, allocations: 62.98 kB / 1.511 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/3.127, allocations: 63.55 kB / 1.511 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/3.127, allocations: 68.83 kB / 1.511 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009809/3.128, allocations: 0.6434 MB / 1.512 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/3.128, allocations: 0 / 1.512 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004266/3.132, allocations: 1.282 MB / 1.513 GB, free: 54.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004448/3.137, allocations: 1.976 MB / 1.515 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002591/3.139, allocations: 1.533 MB / 1.517 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/3.139, allocations: 2.5 kB / 1.517 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/3.14, allocations: 0.5328 MB / 1.517 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/3.143, allocations: 0.5872 MB / 1.518 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/3.145, allocations: 1.504 MB / 1.519 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/3.146, allocations: 1.102 MB / 1.52 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002407/3.148, allocations: 0.6483 MB / 1.521 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/3.149, allocations: 152.6 kB / 1.521 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/3.149, allocations: 0 / 1.521 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.07308/3.222, allocations: 53.71 MB / 1.573 GB, free: 50.77 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches