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.001395/0.001395, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 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.001497/0.001497, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 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.412/1.412, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 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.2181/0.2181, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.891e-05, allocations: 2.312 kB / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4473/0.4473, allocations: 164.9 MB / 0.4998 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.4577, allocations: 5.263 MB / 0.505 GB, free: 5.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008388/0.4586, allocations: 23.75 kB / 0.505 GB, free: 5.688 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.4597, allocations: 321.7 kB / 0.5053 GB, free: 5.371 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.4647, allocations: 1.679 MB / 0.5069 GB, free: 3.684 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.4669, allocations: 0.7516 MB / 0.5077 GB, free: 2.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.4694, allocations: 1.578 MB / 0.5092 GB, free: 1.348 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007136/0.4701, allocations: 371.9 kB / 0.5096 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.4715, allocations: 0.8102 MB / 0.5104 GB, free: 172 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.4722, allocations: 410.8 kB / 0.5108 GB, free: 15.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.4723, allocations: 52 kB / 0.5108 GB, free: 15.71 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.4753, allocations: 1.096 MB / 0.5119 GB, free: 14.62 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.4755, allocations: 183.3 kB / 0.512 GB, free: 14.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.4759, allocations: 251.4 kB / 0.5123 GB, free: 14.19 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.4789, allocations: 1.694 MB / 0.5139 GB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4789, allocations: 0 / 0.5139 GB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4789, allocations: 0 / 0.5139 GB, free: 12.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.4789, allocations: 0 / 0.5139 GB, free: 12.49 MB / 394.7 MB 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.002214/0.4811, allocations: 1.037 MB / 0.515 GB, free: 11.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4811, allocations: 8.031 kB / 0.515 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.4823, allocations: 223 kB / 0.5152 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.4833, allocations: 477.7 kB / 0.5156 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.4834, allocations: 29 kB / 0.5157 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.355e-05/0.4834, allocations: 44 kB / 0.5157 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.4851, allocations: 0.8918 MB / 0.5166 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4851, allocations: 4 kB / 0.5166 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.4851, allocations: 19.94 kB / 0.5166 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4852, allocations: 12 kB / 0.5166 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.4862, allocations: 479.6 kB / 0.5171 GB, free: 9.125 MB / 394.7 MB 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.003404/0.4896, allocations: 1.923 MB / 0.5189 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000816/0.4905, allocations: 323.5 kB / 0.5192 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.4908, allocations: 157.3 kB / 0.5194 GB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.4919, allocations: 418.4 kB / 0.5198 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.4919, allocations: 42.78 kB / 0.5198 GB, free: 6.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.4919, allocations: 7.938 kB / 0.5198 GB, free: 6.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.002029/0.4939, allocations: 0.6712 MB / 0.5205 GB, free: 5.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.4941, allocations: 136.5 kB / 0.5206 GB, free: 5.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.4947, allocations: 429.8 kB / 0.521 GB, free: 4.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.4947, allocations: 37.7 kB / 0.5211 GB, free: 4.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.495, allocations: 292.3 kB / 0.5214 GB, free: 4.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.4951, allocations: 123 kB / 0.5215 GB, free: 4.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.4953, allocations: 102.1 kB / 0.5216 GB, free: 4.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.4956, allocations: 354.8 kB / 0.5219 GB, free: 4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.496, allocations: 156.8 kB / 0.5221 GB, free: 3.844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.4965, allocations: 349.5 kB / 0.5224 GB, free: 3.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008738/0.4974, allocations: 444.7 kB / 0.5228 GB, free: 2.949 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4974, allocations: 0 / 0.5228 GB, free: 2.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001213/0.4986, allocations: 0.5489 MB / 0.5234 GB, free: 2.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.4986, allocations: 14.38 kB / 0.5234 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4986, allocations: 4 kB / 0.5234 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.5003, allocations: 248.5 kB / 0.5236 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.5007, allocations: 95.89 kB / 0.5237 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006522/0.5013, allocations: 0.6069 MB / 0.5243 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.5017, allocations: 35.78 kB / 0.5243 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-05/0.5018, allocations: 51.97 kB / 0.5244 GB, free: 1.316 MB / 394.7 MB 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.0003091/0.5021, allocations: 181.8 kB / 0.5245 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.5023, allocations: 67.61 kB / 0.5246 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.5041, allocations: 0.7215 MB / 0.5253 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5041, allocations: 4 kB / 0.5253 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5041, allocations: 0 / 0.5253 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/0.5042, allocations: 7.984 kB / 0.5253 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.5059, allocations: 0.8862 MB / 0.5262 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5059, allocations: 4 kB / 0.5262 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.5061, allocations: 47.97 kB / 0.5262 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/0.5096, allocations: 448.3 kB / 0.5267 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.5097, allocations: 12 kB / 0.5267 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000612/0.5103, allocations: 0.607 MB / 0.5273 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5103, allocations: 0 / 0.5273 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5113, allocations: 0.51 MB / 0.5278 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5114, allocations: 47.64 kB / 0.5278 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5115, allocations: 23.77 kB / 0.5278 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.5118, allocations: 24.05 kB / 0.5279 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.5119, allocations: 35.95 kB / 0.5279 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.512, allocations: 12 kB / 0.5279 GB, free: 13.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005186/0.5125, allocations: 339.1 kB / 0.5282 GB, free: 13.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5125, allocations: 0 / 0.5282 GB, free: 13.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001156/0.5136, allocations: 331.1 kB / 0.5286 GB, free: 12.89 MB / 410.7 MB 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.001252/0.5149, allocations: 472.9 kB / 0.529 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009764/0.5159, allocations: 371.8 kB / 0.5294 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.5159, allocations: 4 kB / 0.5294 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.5163, allocations: 164.9 kB / 0.5295 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.5177, allocations: 301.7 kB / 0.5298 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.5196, allocations: 0.8688 MB / 0.5307 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.5199, allocations: 259.1 kB / 0.5309 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006445/0.5205, allocations: 194.9 kB / 0.5311 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.5207, allocations: 68.48 kB / 0.5312 GB, free: 10.17 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5207, allocations: 0 / 0.5312 GB, free: 10.17 MB / 410.7 MB Notification: Performance of Templates: time 0.03078/0.5515, allocations: 15.41 MB / 0.5462 GB, free: 10.85 MB / 426.7 MB " [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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9466456460068]