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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009272, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 184.1 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4493/0.4493, allocations: 43.58 MB / 315 MB, free: 8.766 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005857/0.0005857, allocations: 20.33 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.172, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 1.063/1.236, allocations: 206.1 MB / 0.6343 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01954/1.255, allocations: 14.07 MB / 0.6481 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/1.257, allocations: 47.41 kB / 0.6481 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002335/1.26, allocations: 403.6 kB / 0.6485 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/1.273, allocations: 2.803 MB / 0.6512 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/1.283, allocations: 2.852 MB / 0.654 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007404/1.291, allocations: 4.655 MB / 0.6586 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/1.292, allocations: 0.6606 MB / 0.6592 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/1.296, allocations: 1.081 MB / 0.6603 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003315/1.299, allocations: 1.314 MB / 0.6615 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002675/1.299, allocations: 55.5 kB / 0.6616 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/1.31, allocations: 3.106 MB / 0.6646 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/1.311, allocations: 374.1 kB / 0.665 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/1.312, allocations: 0.6151 MB / 0.6656 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/1.325, allocations: 3.639 MB / 0.6691 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.325, allocations: 1.969 kB / 0.6691 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.364e-06/1.325, allocations: 1.25 kB / 0.6691 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.153e-05/1.325, allocations: 0 / 0.6691 GB, free: 17.05 MB / 0.4981 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.005337/1.33, allocations: 1.718 MB / 0.6708 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/1.33, allocations: 13.69 kB / 0.6708 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/1.332, allocations: 216 kB / 0.671 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/1.333, allocations: 0.7983 MB / 0.6718 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/1.333, allocations: 66.12 kB / 0.6719 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/1.333, allocations: 68.83 kB / 0.6719 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/1.336, allocations: 1.239 MB / 0.6732 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.336, allocations: 5.062 kB / 0.6732 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.336, allocations: 33.97 kB / 0.6732 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/1.336, allocations: 85.66 kB / 0.6733 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/1.338, allocations: 1.212 MB / 0.6745 GB, free: 15.5 MB / 0.4981 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.008983/1.347, allocations: 4.886 MB / 0.6792 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.349, allocations: 0.7568 MB / 0.68 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/1.349, allocations: 400 kB / 0.6803 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/1.351, allocations: 1.301 MB / 0.6816 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/1.351, allocations: 49.39 kB / 0.6817 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 3.547e-06/1.351, allocations: 0 / 0.6817 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73): time 0.008562/1.36, allocations: 2.813 MB / 0.6844 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.36, allocations: 222.8 kB / 0.6846 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/1.361, allocations: 0.9467 MB / 0.6855 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/1.361, allocations: 41.02 kB / 0.6856 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/1.362, allocations: 480.1 kB / 0.686 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/1.362, allocations: 262.8 kB / 0.6863 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.362, allocations: 84.61 kB / 0.6864 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.362, allocations: 344.7 kB / 0.6867 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/1.363, allocations: 440.4 kB / 0.6871 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/1.364, allocations: 0.6814 MB / 0.6878 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/1.366, allocations: 1.089 MB / 0.6889 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.366, allocations: 7 kB / 0.6889 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002674/1.369, allocations: 1.493 MB / 0.6903 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/1.369, allocations: 278.7 kB / 0.6906 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.369, allocations: 10.62 kB / 0.6906 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/1.372, allocations: 0.7334 MB / 0.6913 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/1.373, allocations: 182.2 kB / 0.6915 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/1.375, allocations: 1.282 MB / 0.6927 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.377, allocations: 76.19 kB / 0.6928 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/1.377, allocations: 93.14 kB / 0.6929 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.377, allocations: 2.75 kB / 0.6929 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002511/1.38, allocations: 1.216 MB / 0.6941 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.38, allocations: 10.25 kB / 0.6941 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/1.381, allocations: 371.8 kB / 0.6945 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/1.382, allocations: 205.9 kB / 0.6947 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/1.383, allocations: 0.9755 MB / 0.6956 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/1.384, allocations: 69.56 kB / 0.6957 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.384, allocations: 86.39 kB / 0.6958 GB, free: 6 MB / 0.4981 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.000695/1.385, allocations: 372.5 kB / 0.6961 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/1.385, allocations: 115.1 kB / 0.6962 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/1.388, allocations: 1.387 MB / 0.6976 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/1.388, allocations: 10.53 kB / 0.6976 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/1.388, allocations: 2.344 kB / 0.6976 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.388, allocations: 7.984 kB / 0.6976 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/1.392, allocations: 2.164 MB / 0.6997 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.392, allocations: 1.859 kB / 0.6997 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/1.393, allocations: 178.8 kB / 0.6999 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/1.393, allocations: 29.69 kB / 0.6999 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.891e-05/1.393, allocations: 32.55 kB / 0.6999 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/1.394, allocations: 1.279 MB / 0.7012 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.394, allocations: 3.312 kB / 0.7012 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/1.397, allocations: 1.635 MB / 0.7028 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/1.398, allocations: 198.5 kB / 0.703 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/1.398, allocations: 11.19 kB / 0.703 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007377/1.399, allocations: 51.33 kB / 0.703 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.399, allocations: 75.02 kB / 0.7031 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.399, allocations: 70.16 kB / 0.7032 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009623/1.4, allocations: 0.6611 MB / 0.7038 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.4, allocations: 0 / 0.7038 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004313/1.405, allocations: 1.086 MB / 0.7049 GB, free: 0.8516 MB / 0.4981 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 (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.003191/1.408, allocations: 0.9993 MB / 0.7059 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003449/1.411, allocations: 1.651 MB / 0.7075 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.411, allocations: 2.719 kB / 0.7075 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009899/1.412, allocations: 0.5745 MB / 0.708 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/1.416, allocations: 0.5985 MB / 0.7086 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/1.42, allocations: 2.434 MB / 0.711 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/1.421, allocations: 1.077 MB / 0.712 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002648/1.423, allocations: 0.6002 MB / 0.7126 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005963/1.424, allocations: 166.1 kB / 0.7128 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/1.424, allocations: 0 / 0.7128 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of Templates: time 0.06363/1.488, allocations: 37.43 MB / 0.7493 GB, free: 4.543 MB / 0.545 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