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.0008314/0.0008316, allocations: 98.31 kB / 18.01 MB, free: 5.734 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.0009731/0.0009732, allocations: 176.9 kB / 18.91 MB, free: 4.871 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.39/1.39, allocations: 223.3 MB / 243 MB, free: 14.46 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.2164/0.2164, allocations: 44.25 MB / 338.3 MB, free: 2.484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004456, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.4785/0.6067, allocations: 195.9 MB / 0.6531 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.6253, allocations: 11.62 MB / 0.6645 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.6272, allocations: 47.56 kB / 0.6645 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.6288, allocations: 405.7 kB / 0.6649 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007932/0.6368, allocations: 2.312 MB / 0.6672 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00877/0.6456, allocations: 2.851 MB / 0.67 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005988/0.6516, allocations: 4.65 MB / 0.6745 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.6533, allocations: 0.6656 MB / 0.6752 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.6562, allocations: 1.078 MB / 0.6762 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/0.6587, allocations: 1.316 MB / 0.6775 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004508/0.6592, allocations: 56 kB / 0.6775 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00637/0.6656, allocations: 2.675 MB / 0.6802 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008091/0.6664, allocations: 382.8 kB / 0.6805 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.6678, allocations: 0.6121 MB / 0.6811 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004576/0.6724, allocations: 2.417 MB / 0.6835 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6725, allocations: 0 / 0.6835 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6725, allocations: 0 / 0.6835 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.69e-05/0.6725, allocations: 0 / 0.6835 GB, free: 15.49 MB / 0.5137 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.004595/0.6771, allocations: 1.628 MB / 0.6851 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.6772, allocations: 12.02 kB / 0.6851 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.6787, allocations: 214.5 kB / 0.6853 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.6802, allocations: 0.7966 MB / 0.6861 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.6803, allocations: 61.97 kB / 0.6861 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.6805, allocations: 67.92 kB / 0.6862 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.6828, allocations: 1.248 MB / 0.6874 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.6829, allocations: 3.984 kB / 0.6874 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.683, allocations: 31.98 kB / 0.6874 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.6831, allocations: 81.94 kB / 0.6875 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.6854, allocations: 1.222 MB / 0.6887 GB, free: 9.98 MB / 0.5137 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.0082/0.6936, allocations: 4.848 MB / 0.6935 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.695, allocations: 0.7643 MB / 0.6942 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/0.6957, allocations: 394.3 kB / 0.6946 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.696, allocations: 353 kB / 0.6949 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.6961, allocations: 47.11 kB / 0.695 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 1.964e-06/0.6961, allocations: 0 / 0.695 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73): time 0.008121/0.7042, allocations: 2.838 MB / 0.6977 GB, free: 320 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.7044, allocations: 214.3 kB / 0.6979 GB, free: 56 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.7058, allocations: 0.9465 MB / 0.6989 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.751e-05/0.7059, allocations: 41.7 kB / 0.6989 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.7063, allocations: 483.5 kB / 0.6994 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.7066, allocations: 256.3 kB / 0.6996 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.7067, allocations: 81.67 kB / 0.6997 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7068, allocations: 345.9 kB / 0.7 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008328/0.7077, allocations: 441.8 kB / 0.7004 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009965/0.7087, allocations: 0.6882 MB / 0.7011 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.7105, allocations: 1.096 MB / 0.7022 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.7105, allocations: 0 / 0.7022 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002826/0.7134, allocations: 1.501 MB / 0.7036 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.7136, allocations: 280.1 kB / 0.7039 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.7136, allocations: 4 kB / 0.7039 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/0.7172, allocations: 0.7245 MB / 0.7046 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.7179, allocations: 183.7 kB / 0.7048 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.7196, allocations: 1.291 MB / 0.7061 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.7206, allocations: 67.94 kB / 0.7061 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.7208, allocations: 96.05 kB / 0.7062 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.7208, allocations: 10.59 kB / 0.7062 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002421/0.7233, allocations: 1.223 MB / 0.7074 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7233, allocations: 12.59 kB / 0.7074 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.7249, allocations: 364.5 kB / 0.7078 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.7256, allocations: 215.6 kB / 0.708 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.7268, allocations: 0.9776 MB / 0.7089 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/0.7277, allocations: 75.91 kB / 0.709 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.7279, allocations: 87.98 kB / 0.7091 GB, free: 4.23 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.0006735/0.7286, allocations: 378.5 kB / 0.7094 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.7289, allocations: 114.6 kB / 0.7096 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/0.7327, allocations: 1.909 MB / 0.7114 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7327, allocations: 8 kB / 0.7114 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7327, allocations: 0 / 0.7114 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.7328, allocations: 3.984 kB / 0.7114 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2587/0.9915, allocations: 2.509 MB / 0.7139 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.9915, allocations: 7.359 kB / 0.7139 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009347/0.9925, allocations: 186.5 kB / 0.7141 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.9927, allocations: 24.48 kB / 0.7141 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.9928, allocations: 37.34 kB / 0.7141 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008989/0.9937, allocations: 1.288 MB / 0.7154 GB, free: 203 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.9937, allocations: 4.531 kB / 0.7154 GB, free: 203 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/0.9973, allocations: 1.67 MB / 0.717 GB, free: 202.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/0.9978, allocations: 205.2 kB / 0.7172 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.9981, allocations: 19.44 kB / 0.7172 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/0.999, allocations: 54.67 kB / 0.7173 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.9992, allocations: 70.31 kB / 0.7174 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.9994, allocations: 74.73 kB / 0.7174 GB, free: 202.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001049/1, allocations: 0.6657 MB / 0.7181 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1, allocations: 0 / 0.7181 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003116/1.004, allocations: 1.011 MB / 0.7191 GB, free: 202.5 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.002321/1.006, allocations: 0.8418 MB / 0.7199 GB, free: 202.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003564/1.01, allocations: 1.657 MB / 0.7215 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.01, allocations: 1.594 kB / 0.7215 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.011, allocations: 0.5838 MB / 0.7221 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/1.014, allocations: 0.6103 MB / 0.7227 GB, free: 201.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/1.018, allocations: 2.541 MB / 0.7252 GB, free: 200.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/1.019, allocations: 1.084 MB / 0.7262 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009352/1.02, allocations: 240.9 kB / 0.7264 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/1.02, allocations: 1.156 kB / 0.7264 GB, free: 199.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.04149/1.061, allocations: 29.02 MB / 0.7548 GB, free: 178.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches