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.0009559/0.0009559, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008277/0.000828, allocations: 86.56 kB / 261.8 MB, free: 1.672 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.1957/0.1957, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.196e-05/1.197e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.405/1.52, allocations: 0.6022 GB / 1.068 GB, free: 30.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.52, allocations: 87.23 kB / 1.068 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.424/2.944, allocations: 407.8 MB / 1.466 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/2.944, allocations: 0 / 1.466 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.491e-05/2.944, allocations: 32 kB / 1.467 GB, free: 14.76 MB / 0.4948 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.006325/2.951, allocations: 1.89 MB / 1.468 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/2.951, allocations: 12.03 kB / 1.468 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/2.952, allocations: 210.5 kB / 1.469 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/2.954, allocations: 0.8676 MB / 1.469 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/2.954, allocations: 27.98 kB / 1.469 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/2.954, allocations: 47.91 kB / 1.469 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001348/2.955, allocations: 1.035 MB / 1.471 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/2.957, allocations: 1.11 MB / 1.472 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/2.957, allocations: 8 kB / 1.472 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/2.957, allocations: 0 / 1.472 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.545e-05/2.957, allocations: 85.89 kB / 1.472 GB, free: 9.32 MB / 0.4948 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.006015/2.963, allocations: 4.814 MB / 1.476 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/2.963, allocations: 0.5273 MB / 1.477 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/2.964, allocations: 310.5 kB / 1.477 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/2.964, allocations: 310.2 kB / 1.477 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/2.964, allocations: 55 kB / 1.478 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 2.575e-06/2.964, allocations: 0 / 1.478 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.007536/2.972, allocations: 2.375 MB / 1.48 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/2.972, allocations: 214.2 kB / 1.48 GB, free: 272 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000839/2.973, allocations: 0.6958 MB / 1.481 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.154e-05/2.973, allocations: 25.7 kB / 1.481 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/2.973, allocations: 0.514 MB / 1.481 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/2.973, allocations: 208.9 kB / 1.481 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/2.973, allocations: 0 / 1.481 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001474/2.974, allocations: 345.9 kB / 1.482 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/2.974, allocations: 382.5 kB / 1.482 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/2.975, allocations: 0.6032 MB / 1.483 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/2.983, allocations: 1.889 MB / 1.485 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/2.983, allocations: 8 kB / 1.485 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.009839/2.993, allocations: 2.713 MB / 1.487 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008853/2.994, allocations: 2.176 MB / 1.489 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/2.994, allocations: 8 kB / 1.489 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/2.996, allocations: 484.5 kB / 1.49 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/2.996, allocations: 179.7 kB / 1.49 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/2.998, allocations: 1.443 MB / 1.491 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/3, allocations: 59.84 kB / 1.491 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/3, allocations: 91.92 kB / 1.492 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/3, allocations: 4 kB / 1.492 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009/3.009, allocations: 2.392 MB / 1.494 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/3.009, allocations: 8 kB / 1.494 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/3.01, allocations: 320.6 kB / 1.494 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/3.011, allocations: 207.7 kB / 1.494 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/3.012, allocations: 0.9855 MB / 1.495 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/3.013, allocations: 55.91 kB / 1.495 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/3.013, allocations: 87.98 kB / 1.496 GB, free: 44 kB / 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.2905/3.304, allocations: 119.8 kB / 1.496 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/3.304, allocations: 92.34 kB / 1.496 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/3.308, allocations: 1.074 MB / 1.497 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/3.308, allocations: 6.531 kB / 1.497 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/3.308, allocations: 1 kB / 1.497 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/3.308, allocations: 3.141 kB / 1.497 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/3.312, allocations: 1.833 MB / 1.499 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/3.312, allocations: 1.875 kB / 1.499 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007312/3.313, allocations: 159.7 kB / 1.499 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/3.313, allocations: 23.75 kB / 1.499 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/3.313, allocations: 20.16 kB / 1.499 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008239/3.314, allocations: 1.236 MB / 1.5 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/3.314, allocations: 4.188 kB / 1.5 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/3.316, allocations: 1.383 MB / 1.501 GB, free: 67.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/3.317, allocations: 190.2 kB / 1.502 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/3.317, allocations: 0.5156 kB / 1.502 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007278/3.317, allocations: 48.67 kB / 1.502 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/3.318, allocations: 53.52 kB / 1.502 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/3.318, allocations: 60.06 kB / 1.502 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008716/3.319, allocations: 0.5211 MB / 1.502 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/3.319, allocations: 0 / 1.502 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004679/3.323, allocations: 1.205 MB / 1.503 GB, free: 66.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (63): * Single equations (assignments): 62 * 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.004201/3.327, allocations: 2.152 MB / 1.505 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002484/3.33, allocations: 1.438 MB / 1.507 GB, free: 66.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/3.33, allocations: 3.969 kB / 1.507 GB, free: 66.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/3.331, allocations: 474.4 kB / 1.507 GB, free: 66.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/3.333, allocations: 470.2 kB / 1.508 GB, free: 66.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/3.336, allocations: 1.394 MB / 1.509 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/3.337, allocations: 1.099 MB / 1.51 GB, free: 65.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002444/3.34, allocations: 0.5619 MB / 1.511 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/3.34, allocations: 134.1 kB / 1.511 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/3.34, allocations: 0 / 1.511 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.04969/3.39, allocations: 38.01 MB / 1.548 GB, free: 63.54 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