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.001402/0.001402, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.704/1.704, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009322/0.0009321, allocations: 98.83 kB / 270.2 MB, free: 13.36 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.2235/0.2235, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.052/2.184, allocations: 0.6357 GB / 1.114 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/2.185, allocations: 85.94 kB / 1.115 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/3.864, allocations: 420.4 MB / 1.525 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.464e-06/3.864, allocations: 0 / 1.525 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001254/3.864, allocations: 36.27 kB / 1.525 GB, free: 62.23 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.007554/3.872, allocations: 2.049 MB / 1.527 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/3.872, allocations: 9.375 kB / 1.527 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/3.873, allocations: 210.7 kB / 1.527 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/3.876, allocations: 0.8781 MB / 1.528 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/3.876, allocations: 60.73 kB / 1.528 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/3.876, allocations: 72.48 kB / 1.528 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/3.878, allocations: 1.252 MB / 1.53 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/3.879, allocations: 4.844 kB / 1.53 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/3.879, allocations: 32.72 kB / 1.53 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/3.879, allocations: 80.78 kB / 1.53 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/3.881, allocations: 1.234 MB / 1.531 GB, free: 61.05 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.009733/3.891, allocations: 4.86 MB / 1.536 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/3.893, allocations: 0.7264 MB / 1.536 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005173/3.893, allocations: 327.2 kB / 1.537 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/3.893, allocations: 42.69 kB / 1.537 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 7.795e-06/3.893, allocations: 3.688 kB / 1.537 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.008881/3.902, allocations: 2.797 MB / 1.539 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/3.902, allocations: 214.5 kB / 1.54 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/3.904, allocations: 0.829 MB / 1.54 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/3.904, allocations: 49.88 kB / 1.54 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/3.905, allocations: 469 kB / 1.541 GB, free: 57.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/3.905, allocations: 260.8 kB / 1.541 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/3.905, allocations: 23.59 kB / 1.541 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001105/3.905, allocations: 348.2 kB / 1.541 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/3.906, allocations: 413 kB / 1.542 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/3.907, allocations: 0.6401 MB / 1.543 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/3.908, allocations: 0.4913 MB / 1.543 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/3.908, allocations: 3.906 kB / 1.543 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00247/3.91, allocations: 1.407 MB / 1.544 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005908/3.911, allocations: 2.188 MB / 1.547 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/3.911, allocations: 8.297 kB / 1.547 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003661/3.914, allocations: 0.7092 MB / 1.547 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/3.915, allocations: 178.1 kB / 1.547 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/3.917, allocations: 1.279 MB / 1.549 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/3.918, allocations: 70.44 kB / 1.549 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/3.919, allocations: 88.72 kB / 1.549 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/3.919, allocations: 5.625 kB / 1.549 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002216/3.921, allocations: 1.169 MB / 1.55 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/3.921, allocations: 9.469 kB / 1.55 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/3.922, allocations: 361.1 kB / 1.55 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/3.923, allocations: 198.4 kB / 1.55 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/3.924, allocations: 0.9694 MB / 1.551 GB, free: 53.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/3.926, allocations: 76.62 kB / 1.551 GB, free: 53.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/3.926, allocations: 87.45 kB / 1.552 GB, free: 53.12 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 () * Number of clocked 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.0009049/3.927, allocations: 375.2 kB / 1.552 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/3.927, allocations: 112.2 kB / 1.552 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/3.93, allocations: 1.353 MB / 1.553 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/3.93, allocations: 9.875 kB / 1.553 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/3.93, allocations: 0 / 1.553 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/3.93, allocations: 7.172 kB / 1.553 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/3.935, allocations: 2.119 MB / 1.555 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/3.935, allocations: 4.578 kB / 1.555 GB, free: 52.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/3.936, allocations: 179.5 kB / 1.556 GB, free: 52.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/3.936, allocations: 26.27 kB / 1.556 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-05/3.936, allocations: 35.7 kB / 1.556 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009022/3.937, allocations: 1.293 MB / 1.557 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/3.937, allocations: 0 / 1.557 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/3.94, allocations: 1.661 MB / 1.559 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/3.94, allocations: 197.7 kB / 1.559 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/3.941, allocations: 13.94 kB / 1.559 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/3.942, allocations: 56.81 kB / 1.559 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/3.942, allocations: 60.75 kB / 1.559 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/3.942, allocations: 69.84 kB / 1.559 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001163/3.943, allocations: 0.6638 MB / 1.56 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/3.943, allocations: 2.156 kB / 1.56 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006301/3.95, allocations: 1.279 MB / 1.561 GB, free: 50.35 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 () * Number of clocked 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.007395/3.957, allocations: 1.966 MB / 1.563 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004098/3.961, allocations: 1.582 MB / 1.564 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/3.961, allocations: 0 / 1.564 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/3.962, allocations: 0.5631 MB / 1.565 GB, free: 49.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/3.966, allocations: 0.5844 MB / 1.565 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/3.971, allocations: 2.306 MB / 1.568 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/3.971, allocations: 1.106 MB / 1.569 GB, free: 48.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002947/3.974, allocations: 0.5716 MB / 1.569 GB, free: 48.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006935/3.975, allocations: 159.6 kB / 1.569 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/3.975, allocations: 2.969 kB / 1.569 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.08345/4.059, allocations: 48.59 MB / 1.617 GB, free: 45.61 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