Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008483, allocations: 96.17 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 175.3 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1952/0.1952, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 8 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.4724/0.5956, allocations: 195.9 MB / 0.6525 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.6147, allocations: 11.62 MB / 0.6638 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.6167, allocations: 47.56 kB / 0.6639 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.6184, allocations: 409.7 kB / 0.6643 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008372/0.6268, allocations: 2.309 MB / 0.6665 GB, free: 244 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008863/0.6357, allocations: 2.853 MB / 0.6693 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006286/0.642, allocations: 4.643 MB / 0.6739 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.6442, allocations: 0.6694 MB / 0.6745 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.6478, allocations: 1.086 MB / 0.6756 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.6509, allocations: 1.312 MB / 0.6768 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005581/0.6515, allocations: 56 kB / 0.6769 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006645/0.6581, allocations: 2.675 MB / 0.6795 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.6592, allocations: 386.7 kB / 0.6799 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.6611, allocations: 0.616 MB / 0.6805 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009103/0.6702, allocations: 3.316 MB / 0.6837 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6703, allocations: 0 / 0.6837 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.826e-06/0.6703, allocations: 0 / 0.6837 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 7.211e-05/0.6704, allocations: 0 / 0.6837 GB, free: 14.59 MB / 0.5138 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.004954/0.6753, allocations: 1.632 MB / 0.6853 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.6754, allocations: 8.031 kB / 0.6853 GB, free: 12.89 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.6769, allocations: 217.5 kB / 0.6855 GB, free: 12.68 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.6787, allocations: 0.7888 MB / 0.6863 GB, free: 11.85 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.6788, allocations: 57.98 kB / 0.6864 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.679, allocations: 75.91 kB / 0.6864 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.6816, allocations: 1.248 MB / 0.6876 GB, free: 10.42 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.6816, allocations: 0 / 0.6876 GB, free: 10.42 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.6818, allocations: 35.97 kB / 0.6877 GB, free: 10.38 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.6819, allocations: 81.94 kB / 0.6878 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.6841, allocations: 1.222 MB / 0.689 GB, free: 9.082 MB / 0.5138 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.009492/0.6937, allocations: 4.844 MB / 0.6937 GB, free: 3.961 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.6952, allocations: 0.7629 MB / 0.6944 GB, free: 3.191 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007098/0.6959, allocations: 394.3 kB / 0.6948 GB, free: 2.805 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/0.6963, allocations: 349 kB / 0.6951 GB, free: 2.391 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.169e-05/0.6964, allocations: 47.06 kB / 0.6952 GB, free: 2.336 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=68): time 5.58e-06/0.6964, allocations: 4 kB / 0.6952 GB, free: 2.332 MB / 0.5138 GB Notification: Performance of matching and sorting (n=73): time 0.008187/0.7046, allocations: 2.834 MB / 0.698 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.7048, allocations: 218.2 kB / 0.6982 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.706, allocations: 0.9465 MB / 0.6991 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.7062, allocations: 45.7 kB / 0.6991 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.7066, allocations: 475.5 kB / 0.6996 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.7069, allocations: 264.2 kB / 0.6998 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.707, allocations: 81.67 kB / 0.6999 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.7072, allocations: 345.9 kB / 0.7002 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/0.708, allocations: 433.8 kB / 0.7007 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.7091, allocations: 0.6921 MB / 0.7013 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.7109, allocations: 1.096 MB / 0.7024 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7109, allocations: 0 / 0.7024 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002613/0.7135, allocations: 1.497 MB / 0.7039 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.7138, allocations: 284.4 kB / 0.7041 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.7138, allocations: 8 kB / 0.7041 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003492/0.7173, allocations: 0.7245 MB / 0.7049 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.7179, allocations: 187.7 kB / 0.705 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.7197, allocations: 1.287 MB / 0.7063 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.7208, allocations: 72 kB / 0.7064 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.721, allocations: 91.98 kB / 0.7064 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.721, allocations: 7.938 kB / 0.7065 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002203/0.7232, allocations: 1.219 MB / 0.7076 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7232, allocations: 8 kB / 0.7076 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.7247, allocations: 364.8 kB / 0.708 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.7254, allocations: 207.7 kB / 0.7082 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.7265, allocations: 0.9828 MB / 0.7092 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009652/0.7275, allocations: 71.91 kB / 0.7092 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.7276, allocations: 95.92 kB / 0.7093 GB, free: 3.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0007418/0.7284, allocations: 376.8 kB / 0.7097 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.7286, allocations: 110.6 kB / 0.7098 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.7323, allocations: 1.922 MB / 0.7117 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7323, allocations: 8 kB / 0.7117 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.7324, allocations: 4 kB / 0.7117 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.7324, allocations: 3.984 kB / 0.7117 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2893/1.022, allocations: 2.51 MB / 0.7141 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.022, allocations: 2.75 kB / 0.7141 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/1.023, allocations: 185.5 kB / 0.7143 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.442e-05/1.023, allocations: 25.84 kB / 0.7143 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-05/1.023, allocations: 41.19 kB / 0.7144 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006897/1.023, allocations: 1.285 MB / 0.7156 GB, free: 202.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.023, allocations: 8.812 kB / 0.7156 GB, free: 202.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/1.026, allocations: 1.669 MB / 0.7173 GB, free: 202.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/1.027, allocations: 204.6 kB / 0.7175 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/1.027, allocations: 21.78 kB / 0.7175 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/1.027, allocations: 55.66 kB / 0.7175 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.028, allocations: 65.09 kB / 0.7176 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/1.028, allocations: 81.88 kB / 0.7177 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009122/1.029, allocations: 0.6628 MB / 0.7183 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 1 kB / 0.7183 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002435/1.031, allocations: 1.007 MB / 0.7193 GB, free: 202.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001967/1.033, allocations: 0.8416 MB / 0.7201 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003096/1.036, allocations: 1.659 MB / 0.7217 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.036, allocations: 1.344 kB / 0.7217 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.037, allocations: 0.582 MB / 0.7223 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004566/1.042, allocations: 0.6008 MB / 0.7229 GB, free: 201.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/1.045, allocations: 2.492 MB / 0.7253 GB, free: 199.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/1.046, allocations: 1.081 MB / 0.7264 GB, free: 199.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003649/1.05, allocations: 1.479 MB / 0.7278 GB, free: 198.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/1.051, allocations: 208.5 kB / 0.728 GB, free: 198.9 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/1.051, allocations: 1.312 kB / 0.728 GB, free: 198.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.0435/1.094, allocations: 35.83 MB / 0.763 GB, free: 169.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches