Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 111.8 kB / 16.41 MB, free: 6.488 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.001117/0.001117, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2122/0.2122, allocations: 43.52 MB / 314.1 MB, free: 468 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.001988/0.001989, allocations: 71.91 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1183, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4686/0.5869, allocations: 190 MB / 0.6735 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008456/0.5954, allocations: 5.706 MB / 0.679 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007107/0.5962, allocations: 19.81 kB / 0.679 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009416/0.5972, allocations: 317.8 kB / 0.6793 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.6012, allocations: 1.636 MB / 0.6809 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.6029, allocations: 0.7291 MB / 0.6817 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.6046, allocations: 1.544 MB / 0.6832 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.6052, allocations: 427.4 kB / 0.6836 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007763/0.606, allocations: 0.5799 MB / 0.6841 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.6065, allocations: 462.1 kB / 0.6846 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.265e-05/0.6066, allocations: 52 kB / 0.6846 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.6091, allocations: 1.412 MB / 0.686 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.6093, allocations: 155.5 kB / 0.6862 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.6096, allocations: 350.4 kB / 0.6865 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.6116, allocations: 1.617 MB / 0.6881 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6116, allocations: 4 kB / 0.6881 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6116, allocations: 0 / 0.6881 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6116, allocations: 0 / 0.6881 GB, free: 13.41 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001704/0.6133, allocations: 1.098 MB / 0.6891 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6134, allocations: 8.031 kB / 0.6892 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/0.6143, allocations: 135.2 kB / 0.6893 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.6151, allocations: 0.4965 MB / 0.6898 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.6151, allocations: 36.73 kB / 0.6898 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.6152, allocations: 44 kB / 0.6898 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.6163, allocations: 0.5906 MB / 0.6904 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.6163, allocations: 0 / 0.6904 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.6164, allocations: 20 kB / 0.6904 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6164, allocations: 12 kB / 0.6905 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.6173, allocations: 475.6 kB / 0.6909 GB, free: 10.39 MB / 0.5294 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.002886/0.6201, allocations: 2.694 MB / 0.6935 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.6208, allocations: 362 kB / 0.6939 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.6211, allocations: 169.3 kB / 0.694 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.6223, allocations: 1.304 MB / 0.6953 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.6224, allocations: 42.78 kB / 0.6954 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.6224, allocations: 0 / 0.6954 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001627/0.624, allocations: 0.7221 MB / 0.6961 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.6241, allocations: 132.5 kB / 0.6962 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.6246, allocations: 0.4902 MB / 0.6967 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.6247, allocations: 33.7 kB / 0.6967 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.6249, allocations: 279.9 kB / 0.697 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.625, allocations: 118.2 kB / 0.6971 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.6251, allocations: 102.1 kB / 0.6972 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6253, allocations: 362.7 kB / 0.6975 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.6256, allocations: 152.7 kB / 0.6977 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.6259, allocations: 283.6 kB / 0.6979 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.6266, allocations: 445.6 kB / 0.6984 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6266, allocations: 0 / 0.6984 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009296/0.6276, allocations: 0.5326 MB / 0.6989 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6276, allocations: 11.94 kB / 0.6989 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6276, allocations: 4.438 kB / 0.6989 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.6291, allocations: 248.5 kB / 0.6991 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.6295, allocations: 99.89 kB / 0.6992 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004405/0.6299, allocations: 0.5991 MB / 0.6998 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.6302, allocations: 47.53 kB / 0.6999 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.6303, allocations: 43.98 kB / 0.6999 GB, free: 492 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.6305, allocations: 189.7 kB / 0.7001 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.6306, allocations: 51.34 kB / 0.7001 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.632, allocations: 0.7233 MB / 0.7008 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.632, allocations: 4 kB / 0.7008 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.632, allocations: 0 / 0.7008 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.6321, allocations: 3.984 kB / 0.7008 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.6334, allocations: 1.03 MB / 0.7019 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6334, allocations: 8 kB / 0.7019 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.6336, allocations: 55.91 kB / 0.7019 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/0.6367, allocations: 440.3 kB / 0.7023 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.6367, allocations: 11.98 kB / 0.7023 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003876/0.6371, allocations: 0.6186 MB / 0.703 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6371, allocations: 0 / 0.703 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.6379, allocations: 0.5119 MB / 0.7035 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.638, allocations: 140.3 kB / 0.7036 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.6381, allocations: 11.91 kB / 0.7036 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.6384, allocations: 15.98 kB / 0.7036 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.6385, allocations: 31.84 kB / 0.7036 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.6385, allocations: 19.98 kB / 0.7037 GB, free: 12.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004565/0.639, allocations: 426.8 kB / 0.7041 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.639, allocations: 0 / 0.7041 GB, free: 12.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008392/0.6398, allocations: 315.8 kB / 0.7044 GB, free: 11.71 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (27): * Single equations (assignments): 26 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008756/0.6407, allocations: 455.9 kB / 0.7048 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007773/0.6415, allocations: 400 kB / 0.7052 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6415, allocations: 0 / 0.7052 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.6418, allocations: 165 kB / 0.7053 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.6434, allocations: 369.2 kB / 0.7057 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.6447, allocations: 0.8809 MB / 0.7066 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.6452, allocations: 0.8596 MB / 0.7074 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005607/0.6457, allocations: 201 kB / 0.7076 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.6459, allocations: 83.42 kB / 0.7077 GB, free: 8.266 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6459, allocations: 0 / 0.7077 GB, free: 8.266 MB / 0.545 GB Notification: Performance of Templates: time 0.02508/0.671, allocations: 16.87 MB / 0.7241 GB, free: 7.406 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches