Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002211/0.002211, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001166, allocations: 89 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3385/0.3385, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.915e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4381, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.97/2.409, allocations: 0.6022 GB / 1.068 GB, free: 133.6 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/2.409, allocations: 82.64 kB / 1.068 GB, free: 133.6 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.251/4.66, allocations: 407.8 MB / 1.466 GB, free: 60.73 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.014e-06/4.66, allocations: 3.938 kB / 1.466 GB, free: 60.73 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001504/4.66, allocations: 33.06 kB / 1.466 GB, free: 60.73 MB / 0.4952 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.007668/4.668, allocations: 1.891 MB / 1.468 GB, free: 59.87 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/4.668, allocations: 11.16 kB / 1.468 GB, free: 59.87 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/4.67, allocations: 221.2 kB / 1.469 GB, free: 59.81 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/4.673, allocations: 0.8561 MB / 1.469 GB, free: 59.55 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/4.674, allocations: 34.53 kB / 1.469 GB, free: 59.54 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/4.674, allocations: 45.73 kB / 1.469 GB, free: 59.54 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002869/4.677, allocations: 1.027 MB / 1.47 GB, free: 59.54 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/4.68, allocations: 1.117 MB / 1.472 GB, free: 59.34 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/4.68, allocations: 3.594 kB / 1.472 GB, free: 59.34 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/4.68, allocations: 0 / 1.472 GB, free: 59.34 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/4.68, allocations: 83.64 kB / 1.472 GB, free: 59.34 MB / 0.4952 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.01313/4.694, allocations: 4.823 MB / 1.476 GB, free: 57.12 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/4.695, allocations: 0.5218 MB / 1.477 GB, free: 57.1 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/4.696, allocations: 310.1 kB / 1.477 GB, free: 57.09 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000435/4.696, allocations: 311.9 kB / 1.477 GB, free: 56.8 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/4.696, allocations: 47.5 kB / 1.478 GB, free: 56.76 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=56): time 3.427e-06/4.696, allocations: 0 / 1.478 GB, free: 56.76 MB / 0.4952 GB Notification: Performance of matching and sorting (n=61): time 0.01399/4.71, allocations: 2.377 MB / 1.48 GB, free: 56.18 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/4.71, allocations: 218.6 kB / 1.48 GB, free: 55.93 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/4.712, allocations: 0.6933 MB / 1.481 GB, free: 55.8 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/4.712, allocations: 29.45 kB / 1.481 GB, free: 55.77 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/4.712, allocations: 0.5226 MB / 1.481 GB, free: 55.44 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/4.713, allocations: 213 kB / 1.481 GB, free: 55.3 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/4.713, allocations: 0 / 1.481 GB, free: 55.3 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/4.713, allocations: 355.1 kB / 1.482 GB, free: 54.99 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009296/4.714, allocations: 382.8 kB / 1.482 GB, free: 54.99 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/4.715, allocations: 0.6032 MB / 1.483 GB, free: 54.73 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/4.73, allocations: 1.896 MB / 1.485 GB, free: 54.72 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/4.73, allocations: 3.219 kB / 1.485 GB, free: 54.72 MB / 0.4952 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01815/4.749, allocations: 2.66 MB / 1.487 GB, free: 54.64 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004487/4.749, allocations: 2.183 MB / 1.489 GB, free: 52.38 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/4.749, allocations: 3.969 kB / 1.489 GB, free: 52.38 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003151/4.752, allocations: 491.8 kB / 1.49 GB, free: 52.36 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/4.754, allocations: 176 kB / 1.49 GB, free: 52.36 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/4.757, allocations: 1.438 MB / 1.491 GB, free: 51.82 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/4.759, allocations: 51.97 kB / 1.491 GB, free: 51.82 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/4.759, allocations: 92.61 kB / 1.492 GB, free: 51.82 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/4.759, allocations: 2.781 kB / 1.492 GB, free: 51.82 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01704/4.776, allocations: 2.392 MB / 1.494 GB, free: 51.79 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/4.776, allocations: 6.156 kB / 1.494 GB, free: 51.79 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/4.779, allocations: 304.3 kB / 1.494 GB, free: 51.79 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/4.78, allocations: 199.4 kB / 1.494 GB, free: 51.79 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/4.782, allocations: 0.9708 MB / 1.495 GB, free: 51.25 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/4.783, allocations: 60.33 kB / 1.495 GB, free: 51.25 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/4.783, allocations: 88.66 kB / 1.495 GB, free: 51.25 MB / 0.4952 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.000384/4.784, allocations: 130 kB / 1.496 GB, free: 51.14 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/4.784, allocations: 99.45 kB / 1.496 GB, free: 51.09 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/4.788, allocations: 1.073 MB / 1.497 GB, free: 50.99 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/4.788, allocations: 9.938 kB / 1.497 GB, free: 50.98 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/4.788, allocations: 0 / 1.497 GB, free: 50.98 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/4.788, allocations: 3.797 kB / 1.497 GB, free: 50.98 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005269/4.793, allocations: 1.837 MB / 1.498 GB, free: 50.68 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/4.793, allocations: 3.438 kB / 1.499 GB, free: 50.68 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/4.795, allocations: 149 kB / 1.499 GB, free: 50.68 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/4.795, allocations: 19.39 kB / 1.499 GB, free: 50.67 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/4.795, allocations: 28.62 kB / 1.499 GB, free: 50.67 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008684/4.796, allocations: 1.232 MB / 1.5 GB, free: 49.48 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/4.796, allocations: 11.27 kB / 1.5 GB, free: 49.47 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/4.8, allocations: 1.384 MB / 1.501 GB, free: 49.21 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006063/4.801, allocations: 186.6 kB / 1.501 GB, free: 49.07 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/4.801, allocations: 3.969 kB / 1.501 GB, free: 49.07 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/4.803, allocations: 41.64 kB / 1.501 GB, free: 49.07 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/4.803, allocations: 57.22 kB / 1.502 GB, free: 49.07 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/4.803, allocations: 46.78 kB / 1.502 GB, free: 49.07 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.00106/4.804, allocations: 0.5289 MB / 1.502 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of sort global known variables: time 5.11e-07/4.804, allocations: 3.344 kB / 1.502 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.005845/4.81, allocations: 1.205 MB / 1.503 GB, free: 48.74 MB / 0.4952 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.006907/4.817, allocations: 2.15 MB / 1.505 GB, free: 48.27 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.003962/4.821, allocations: 1.41 MB / 1.507 GB, free: 48.25 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/4.821, allocations: 0 / 1.507 GB, free: 48.25 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/4.822, allocations: 477.1 kB / 1.507 GB, free: 48.14 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/4.826, allocations: 470.8 kB / 1.508 GB, free: 48.12 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/4.831, allocations: 1.447 MB / 1.509 GB, free: 47.72 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/4.832, allocations: 1.091 MB / 1.51 GB, free: 63.02 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/4.834, allocations: 171 kB / 1.51 GB, free: 63.01 MB / 0.5108 GB Notification: Performance of SimCode: time 1.402e-06/4.834, allocations: 0 / 1.51 GB, free: 63.01 MB / 0.5108 GB Notification: Performance of Templates: time 0.06967/4.903, allocations: 33.96 MB / 1.543 GB, free: 50.25 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches