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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002518/0.002518, allocations: 210.4 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 207.7 MB / 234.6 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.26 MB / 331.1 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 78.55 kB / 468.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.127, allocations: 61.04 MB / 0.5174 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5081/0.6351, allocations: 165 MB / 0.6785 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.6453, allocations: 5.279 MB / 0.6836 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008214/0.6462, allocations: 23.81 kB / 0.6837 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.6475, allocations: 309.9 kB / 0.6839 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.6526, allocations: 1.65 MB / 0.6856 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.6549, allocations: 0.7458 MB / 0.6863 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002424/0.6573, allocations: 1.563 MB / 0.6878 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.658, allocations: 355.8 kB / 0.6882 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.6591, allocations: 0.6033 MB / 0.6887 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006915/0.6598, allocations: 470 kB / 0.6892 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.6599, allocations: 55.94 kB / 0.6892 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.6625, allocations: 1.096 MB / 0.6903 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.6627, allocations: 167.4 kB / 0.6905 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.663, allocations: 294.8 kB / 0.6908 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.6658, allocations: 1.561 MB / 0.6923 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6658, allocations: 0 / 0.6923 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6658, allocations: 4 kB / 0.6923 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.6658, allocations: 0 / 0.6923 GB, free: 14.72 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.00203/0.6678, allocations: 1.037 MB / 0.6933 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6679, allocations: 12.03 kB / 0.6933 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009846/0.6688, allocations: 139.5 kB / 0.6934 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009686/0.6698, allocations: 441.7 kB / 0.6939 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.6699, allocations: 32.98 kB / 0.6939 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.6699, allocations: 47.94 kB / 0.6939 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.6712, allocations: 0.8918 MB / 0.6948 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.6712, allocations: 3.984 kB / 0.6948 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.6713, allocations: 24 kB / 0.6948 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.6713, allocations: 12 kB / 0.6948 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.6722, allocations: 475.6 kB / 0.6953 GB, free: 11.46 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.002956/0.6752, allocations: 1.915 MB / 0.6972 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.6759, allocations: 327.5 kB / 0.6975 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.6762, allocations: 157.3 kB / 0.6976 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009901/0.6772, allocations: 410.4 kB / 0.698 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.6773, allocations: 38.84 kB / 0.6981 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.6773, allocations: 0 / 0.6981 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001738/0.679, allocations: 0.6517 MB / 0.6987 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.6791, allocations: 132.5 kB / 0.6988 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.6796, allocations: 433.8 kB / 0.6992 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.6797, allocations: 33.7 kB / 0.6993 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.6799, allocations: 296.4 kB / 0.6996 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.68, allocations: 115 kB / 0.6997 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.6801, allocations: 106.1 kB / 0.6998 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6803, allocations: 358.8 kB / 0.7001 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.6806, allocations: 144.8 kB / 0.7002 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.6811, allocations: 360.8 kB / 0.7006 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.6819, allocations: 444.7 kB / 0.701 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6819, allocations: 0 / 0.701 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001039/0.6829, allocations: 0.529 MB / 0.7015 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6829, allocations: 8.938 kB / 0.7015 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6829, allocations: 7.5 kB / 0.7015 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.6845, allocations: 248.9 kB / 0.7018 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.6848, allocations: 111.8 kB / 0.7019 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005281/0.6854, allocations: 0.5953 MB / 0.7025 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.6857, allocations: 39.77 kB / 0.7025 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/0.6858, allocations: 47.98 kB / 0.7026 GB, free: 3.719 MB / 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.0002876/0.686, allocations: 181.6 kB / 0.7027 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6862, allocations: 51.67 kB / 0.7028 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.6877, allocations: 0.7263 MB / 0.7035 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6877, allocations: 4 kB / 0.7035 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.6877, allocations: 3.984 kB / 0.7035 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6877, allocations: 0 / 0.7035 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.6892, allocations: 0.886 MB / 0.7044 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6892, allocations: 4 kB / 0.7044 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.6894, allocations: 47.91 kB / 0.7044 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/0.6925, allocations: 452.3 kB / 0.7048 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.6926, allocations: 8 kB / 0.7048 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005475/0.6931, allocations: 0.6108 MB / 0.7054 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6931, allocations: 4.031 kB / 0.7055 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009123/0.694, allocations: 0.5048 MB / 0.7059 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6942, allocations: 51.61 kB / 0.706 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.6942, allocations: 8 kB / 0.706 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.6945, allocations: 15.98 kB / 0.706 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.6946, allocations: 27.95 kB / 0.706 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.6947, allocations: 20.06 kB / 0.7061 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004327/0.6951, allocations: 339.1 kB / 0.7064 GB, free: 15.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6951, allocations: 0 / 0.7064 GB, free: 15.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001041/0.6962, allocations: 339 kB / 0.7067 GB, free: 15.32 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.001137/0.6973, allocations: 459.3 kB / 0.7071 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009663/0.6983, allocations: 372.7 kB / 0.7075 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6983, allocations: 3.938 kB / 0.7075 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.6986, allocations: 155.7 kB / 0.7077 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.7, allocations: 282 kB / 0.7079 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.7019, allocations: 0.9224 MB / 0.7088 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.7022, allocations: 263.1 kB / 0.7091 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.7025, allocations: 99.39 kB / 0.7092 GB, free: 12.72 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.7025, allocations: 0 / 0.7092 GB, free: 12.72 MB / 0.545 GB Notification: Performance of Templates: time 0.02155/0.7241, allocations: 14.48 MB / 0.7233 GB, free: 14.24 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.442263790871948]