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.001055/0.001055, allocations: 177 kB / 16.76 MB, free: 4.941 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.714/1.714, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008885/0.0008886, allocations: 89.39 kB / 271.3 MB, free: 8.25 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.4376/0.4376, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 19.98 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.753/1.899, allocations: 0.6359 GB / 1.116 GB, free: 167.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.899, allocations: 90.25 kB / 1.116 GB, free: 167.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.575/3.475, allocations: 418 MB / 1.524 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.296e-06/3.475, allocations: 0 / 1.524 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001768/3.475, allocations: 33.67 kB / 1.524 GB, free: 56.14 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.008377/3.483, allocations: 2.036 MB / 1.526 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/3.483, allocations: 14 kB / 1.526 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/3.485, allocations: 214.8 kB / 1.526 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/3.488, allocations: 0.911 MB / 1.527 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/3.488, allocations: 55.81 kB / 1.527 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/3.489, allocations: 76.88 kB / 1.527 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/3.492, allocations: 1.252 MB / 1.529 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/3.492, allocations: 0 / 1.529 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/3.492, allocations: 34.78 kB / 1.529 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/3.492, allocations: 84.66 kB / 1.529 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/3.495, allocations: 1.232 MB / 1.53 GB, free: 54.88 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.008547/3.503, allocations: 4.886 MB / 1.535 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/3.505, allocations: 0.7295 MB / 1.535 GB, free: 52.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006332/3.505, allocations: 376 kB / 1.536 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/3.507, allocations: 1.303 MB / 1.537 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/3.507, allocations: 42.88 kB / 1.537 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.576e-06/3.507, allocations: 0 / 1.537 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.008109/3.515, allocations: 2.809 MB / 1.54 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/3.515, allocations: 216.4 kB / 1.54 GB, free: 50.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/3.517, allocations: 0.9362 MB / 1.541 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/3.517, allocations: 44.92 kB / 1.541 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/3.517, allocations: 482.9 kB / 1.541 GB, free: 50.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/3.517, allocations: 256.1 kB / 1.542 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/3.517, allocations: 17.97 kB / 1.542 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/3.517, allocations: 342.3 kB / 1.542 GB, free: 49.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/3.518, allocations: 412 kB / 1.542 GB, free: 49.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009173/3.519, allocations: 0.6421 MB / 1.543 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/3.521, allocations: 1.022 MB / 1.544 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/3.521, allocations: 2.062 kB / 1.544 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002711/3.524, allocations: 1.419 MB / 1.545 GB, free: 49.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/3.524, allocations: 251.4 kB / 1.546 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/3.524, allocations: 10.91 kB / 1.546 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003534/3.527, allocations: 0.7112 MB / 1.546 GB, free: 48.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/3.528, allocations: 180.7 kB / 1.547 GB, free: 48.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/3.53, allocations: 1.28 MB / 1.548 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/3.531, allocations: 77.16 kB / 1.548 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/3.531, allocations: 89.33 kB / 1.548 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/3.531, allocations: 4.656 kB / 1.548 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002228/3.534, allocations: 1.167 MB / 1.549 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/3.534, allocations: 11.56 kB / 1.549 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/3.535, allocations: 362.3 kB / 1.549 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/3.536, allocations: 201.9 kB / 1.55 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/3.537, allocations: 0.9676 MB / 1.551 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/3.538, allocations: 74.05 kB / 1.551 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/3.538, allocations: 85.02 kB / 1.551 GB, free: 47.86 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.0008191/3.539, allocations: 374.9 kB / 1.551 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/3.539, allocations: 109.1 kB / 1.551 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/3.543, allocations: 1.346 MB / 1.553 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/3.543, allocations: 10.89 kB / 1.553 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/3.543, allocations: 1.031 kB / 1.553 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/3.543, allocations: 10.27 kB / 1.553 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/3.547, allocations: 2.128 MB / 1.555 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/3.547, allocations: 1.625 kB / 1.555 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/3.548, allocations: 180 kB / 1.555 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/3.548, allocations: 26.34 kB / 1.555 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/3.548, allocations: 36.45 kB / 1.555 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007842/3.549, allocations: 1.283 MB / 1.556 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/3.549, allocations: 7.578 kB / 1.556 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/3.552, allocations: 1.583 MB / 1.558 GB, free: 45.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006069/3.553, allocations: 195.8 kB / 1.558 GB, free: 45.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/3.553, allocations: 17.97 kB / 1.558 GB, free: 45.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/3.554, allocations: 59.81 kB / 1.558 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/3.554, allocations: 71.06 kB / 1.558 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/3.554, allocations: 70.27 kB / 1.558 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001264/3.556, allocations: 0.65 MB / 1.559 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.283e-06/3.556, allocations: 0 / 1.559 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005611/3.561, allocations: 1.282 MB / 1.56 GB, free: 45.19 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.005788/3.567, allocations: 1.968 MB / 1.562 GB, free: 44.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003821/3.571, allocations: 1.583 MB / 1.563 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/3.571, allocations: 3.594 kB / 1.563 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/3.572, allocations: 0.5532 MB / 1.564 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/3.576, allocations: 0.5906 MB / 1.565 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/3.579, allocations: 2.306 MB / 1.567 GB, free: 43.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/3.58, allocations: 1.086 MB / 1.568 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002611/3.583, allocations: 0.5777 MB / 1.568 GB, free: 43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/3.583, allocations: 164.7 kB / 1.569 GB, free: 43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/3.583, allocations: 0 / 1.569 GB, free: 43 MB / 0.5105 GB Notification: Performance of Templates: time 0.07338/3.657, allocations: 50.09 MB / 1.618 GB, free: 40.26 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/jenkins1/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