Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 106.4 kB / 17.08 MB, free: 5.824 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.001041/0.001041, allocations: 198.2 kB / 18.02 MB, free: 4.965 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.31/1.31, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1915/0.1915, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 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.00148/0.00148, allocations: 72.41 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09831, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.3872/0.4855, allocations: 182.2 MB / 0.6665 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005772/0.4914, allocations: 3.762 MB / 0.6701 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.492, allocations: 19.88 kB / 0.6702 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.493, allocations: 325.8 kB / 0.6705 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003965/0.497, allocations: 1.597 MB / 0.672 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.4995, allocations: 1.071 MB / 0.6731 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.5016, allocations: 1.594 MB / 0.6746 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007603/0.5024, allocations: 413.6 kB / 0.675 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.5034, allocations: 0.5877 MB / 0.6756 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007724/0.5042, allocations: 474 kB / 0.6761 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.5043, allocations: 52 kB / 0.6761 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.5071, allocations: 1.49 MB / 0.6776 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.5073, allocations: 159.4 kB / 0.6777 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.5077, allocations: 378.2 kB / 0.6781 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.5103, allocations: 1.656 MB / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5103, allocations: 7.922 kB / 0.6797 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5103, allocations: 0 / 0.6797 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.5103, allocations: 0 / 0.6797 GB, free: 6.684 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002114/0.5124, allocations: 1.216 MB / 0.6809 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5125, allocations: 15.89 kB / 0.6809 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.5137, allocations: 155.1 kB / 0.681 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.5148, allocations: 0.6102 MB / 0.6816 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.5148, allocations: 33 kB / 0.6817 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.5149, allocations: 40 kB / 0.6817 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.5159, allocations: 0.5984 MB / 0.6823 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.516, allocations: 0 / 0.6823 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.516, allocations: 24 kB / 0.6823 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.5161, allocations: 12 kB / 0.6823 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.5168, allocations: 463.6 kB / 0.6828 GB, free: 3.398 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.003552/0.5204, allocations: 2.647 MB / 0.6854 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.521, allocations: 293.3 kB / 0.6856 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.5213, allocations: 173.1 kB / 0.6858 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.5227, allocations: 1.214 MB / 0.687 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005258/0.5233, allocations: 338 kB / 0.6873 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.5233, allocations: 0 / 0.6873 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001204/0.5245, allocations: 0.6085 MB / 0.6879 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.5247, allocations: 302.7 kB / 0.6882 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.5253, allocations: 0.5704 MB / 0.6888 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.5254, allocations: 33.7 kB / 0.6888 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.5257, allocations: 331.5 kB / 0.6891 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.665e-05/0.5258, allocations: 118.4 kB / 0.6892 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.526, allocations: 126.1 kB / 0.6893 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5261, allocations: 374.7 kB / 0.6897 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.5264, allocations: 167 kB / 0.6898 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.5269, allocations: 390.6 kB / 0.6902 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.5276, allocations: 0.5743 MB / 0.6908 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5276, allocations: 0 / 0.6908 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00103/0.5286, allocations: 0.643 MB / 0.6914 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.5287, allocations: 48.33 kB / 0.6915 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5287, allocations: 11.94 kB / 0.6915 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.5287, allocations: 11.98 kB / 0.6915 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.5321, allocations: 415.6 kB / 0.6919 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000487/0.5326, allocations: 0.6211 MB / 0.6925 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.5331, allocations: 71.27 kB / 0.6926 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.5332, allocations: 55.92 kB / 0.6926 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004265/0.5336, allocations: 281.2 kB / 0.6929 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004524/0.5341, allocations: 374.8 kB / 0.6932 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006436/0.5347, allocations: 0.5276 MB / 0.6937 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.109e-06/0.5347, allocations: 4 kB / 0.6937 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009487/0.5357, allocations: 0.6187 MB / 0.6944 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.5357, allocations: 41.69 kB / 0.6944 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5358, allocations: 4.75 kB / 0.6944 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.5358, allocations: 8 kB / 0.6944 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.5362, allocations: 127.8 kB / 0.6945 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5362, allocations: 15.88 kB / 0.6945 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.5366, allocations: 47.67 kB / 0.6946 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.5367, allocations: 51.98 kB / 0.6946 GB, free: 6.27 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.5369, allocations: 261.6 kB / 0.6949 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.5371, allocations: 63.25 kB / 0.6949 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.5385, allocations: 0.8306 MB / 0.6958 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5386, allocations: 7.922 kB / 0.6958 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5386, allocations: 0 / 0.6958 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.5387, allocations: 140.2 kB / 0.6959 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.5388, allocations: 16.62 kB / 0.6959 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.5391, allocations: 12 kB / 0.6959 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.5392, allocations: 35.95 kB / 0.696 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009755/0.5402, allocations: 0.6439 MB / 0.6966 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001133/0.5413, allocations: 0.9164 MB / 0.6975 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002779/0.5416, allocations: 215.9 kB / 0.6977 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004509/0.5421, allocations: 415.1 kB / 0.6981 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of Backend: time 4.71e-07/0.5421, allocations: 0 / 0.6981 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007214/0.5493, allocations: 1.654 MB / 0.6997 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002732/0.5521, allocations: 1.733 MB / 0.7014 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Templates: time 0.03236/0.5844, allocations: 21.33 MB / 0.7222 GB, free: 9.84 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestSharpEdgedOrifice/TestSharpEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches