Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001767/0.001767, allocations: 82.12 kB / 20.68 MB, free: 1.027 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.001905/0.001905, allocations: 162.8 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.801e-05, allocations: 2.281 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4445/0.4445, allocations: 161.6 MB / 0.5902 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.45, allocations: 3.042 MB / 0.5931 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.4505, allocations: 19.81 kB / 0.5931 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009324/0.4514, allocations: 317.7 kB / 0.5934 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.455, allocations: 1.462 MB / 0.5949 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.4569, allocations: 0.7465 MB / 0.5956 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.4591, allocations: 1.594 MB / 0.5972 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.4597, allocations: 356 kB / 0.5975 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.4609, allocations: 0.8141 MB / 0.5983 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.4616, allocations: 414.8 kB / 0.5987 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.4617, allocations: 52 kB / 0.5987 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.4638, allocations: 0.9007 MB / 0.5996 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.464, allocations: 175.4 kB / 0.5998 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.4643, allocations: 256.8 kB / 0.6 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.4665, allocations: 1.55 MB / 0.6015 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4665, allocations: 0 / 0.6015 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4665, allocations: 0 / 0.6015 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4665, allocations: 0 / 0.6015 GB, free: 8.422 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001953/0.4685, allocations: 0.9905 MB / 0.6025 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4685, allocations: 12.03 kB / 0.6025 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.4696, allocations: 147.5 kB / 0.6027 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.4704, allocations: 438.1 kB / 0.6031 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.4704, allocations: 29 kB / 0.6031 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.4705, allocations: 40 kB / 0.6031 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.4718, allocations: 0.9046 MB / 0.604 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4718, allocations: 5.719 kB / 0.604 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.4719, allocations: 16 kB / 0.6041 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.4719, allocations: 12 kB / 0.6041 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.473, allocations: 483.6 kB / 0.6045 GB, free: 5.199 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.00291/0.4759, allocations: 1.889 MB / 0.6064 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.4767, allocations: 327.5 kB / 0.6067 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.477, allocations: 153.4 kB / 0.6068 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.4772, allocations: 52.25 kB / 0.6069 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4773, allocations: 38.84 kB / 0.6069 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.4773, allocations: 3.938 kB / 0.6069 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001877/0.4792, allocations: 0.6562 MB / 0.6076 GB, free: 2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.4792, allocations: 132.5 kB / 0.6077 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.4798, allocations: 433.8 kB / 0.6081 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.4798, allocations: 37.7 kB / 0.6081 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.48, allocations: 284.3 kB / 0.6084 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4801, allocations: 127 kB / 0.6085 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.4803, allocations: 106.1 kB / 0.6086 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4805, allocations: 350.8 kB / 0.609 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.4809, allocations: 148.9 kB / 0.6091 GB, free: 360 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.4814, allocations: 369.3 kB / 0.6095 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.4822, allocations: 440.8 kB / 0.6099 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4822, allocations: 4 kB / 0.6099 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001145/0.4834, allocations: 0.5329 MB / 0.6104 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4834, allocations: 10.94 kB / 0.6104 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4834, allocations: 4 kB / 0.6104 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.4851, allocations: 244.5 kB / 0.6106 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.4855, allocations: 111.8 kB / 0.6108 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005244/0.486, allocations: 0.5914 MB / 0.6113 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4863, allocations: 43.72 kB / 0.6114 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.774e-05/0.4864, allocations: 44 kB / 0.6114 GB, free: 13.82 MB / 0.5137 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.000272/0.4867, allocations: 182.3 kB / 0.6116 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4868, allocations: 59.72 kB / 0.6116 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.4889, allocations: 1.091 MB / 0.6127 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4889, allocations: 0 / 0.6127 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4889, allocations: 0 / 0.6127 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4889, allocations: 7.984 kB / 0.6127 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.4904, allocations: 0.8815 MB / 0.6136 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.4904, allocations: 4 kB / 0.6136 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.4907, allocations: 55.91 kB / 0.6136 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003443/0.4941, allocations: 436.4 kB / 0.6141 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.4941, allocations: 15.31 kB / 0.6141 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005196/0.4947, allocations: 0.6148 MB / 0.6147 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4947, allocations: 0 / 0.6147 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.4955, allocations: 0.5002 MB / 0.6152 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.4956, allocations: 43.66 kB / 0.6152 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.4957, allocations: 23.81 kB / 0.6152 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.496, allocations: 15.98 kB / 0.6152 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.4961, allocations: 23.97 kB / 0.6153 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.4962, allocations: 19.98 kB / 0.6153 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004411/0.4966, allocations: 343 kB / 0.6156 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4966, allocations: 0 / 0.6156 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008778/0.4975, allocations: 303.2 kB / 0.6159 GB, free: 9.102 MB / 0.5137 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.0008449/0.4983, allocations: 382.1 kB / 0.6163 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008899/0.4992, allocations: 363.8 kB / 0.6166 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4992, allocations: 3.938 kB / 0.6166 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.4996, allocations: 156.7 kB / 0.6168 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.5011, allocations: 292.4 kB / 0.617 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.5025, allocations: 0.8637 MB / 0.6179 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.5028, allocations: 263.1 kB / 0.6181 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000966/0.5037, allocations: 0.539 MB / 0.6187 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.504, allocations: 80.47 kB / 0.6187 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.504, allocations: 0 / 0.6187 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of Templates: time 0.02588/0.5299, allocations: 14.49 MB / 0.6329 GB, free: 7.867 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.173599749803543]