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.001526/0.001526, allocations: 105.3 kB / 16.27 MB, free: 6.41 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.00189/0.00189, allocations: 188.6 kB / 17.19 MB, free: 5.949 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.516/1.516, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2527/0.2527, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001648/0.001648, allocations: 68.69 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1241, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5632/0.6874, allocations: 190 MB / 0.6158 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009244/0.6967, allocations: 5.694 MB / 0.6213 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009857/0.6977, allocations: 18 kB / 0.6213 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.6989, allocations: 322.7 kB / 0.6216 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.7037, allocations: 1.631 MB / 0.6232 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.7057, allocations: 0.7383 MB / 0.624 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.7079, allocations: 1.543 MB / 0.6255 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005993/0.7085, allocations: 427.7 kB / 0.6259 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.7093, allocations: 0.5816 MB / 0.6264 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.7098, allocations: 468.2 kB / 0.6269 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.874e-05/0.7099, allocations: 52 kB / 0.6269 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.7126, allocations: 1.312 MB / 0.6282 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.7128, allocations: 155.5 kB / 0.6284 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.7131, allocations: 354.4 kB / 0.6287 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.7153, allocations: 1.609 MB / 0.6303 GB, free: 6.438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7153, allocations: 4 kB / 0.6303 GB, free: 6.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.7153, allocations: 0 / 0.6303 GB, free: 6.434 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.7154, allocations: 0 / 0.6303 GB, free: 6.434 MB / 446.1 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.002058/0.7174, allocations: 1.095 MB / 0.6314 GB, free: 5.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7175, allocations: 15.97 kB / 0.6314 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.7185, allocations: 131.2 kB / 0.6315 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.7191, allocations: 484.5 kB / 0.632 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.7192, allocations: 29 kB / 0.632 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.7193, allocations: 44.75 kB / 0.632 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.7203, allocations: 0.5944 MB / 0.6326 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.7203, allocations: 4 kB / 0.6326 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.956e-05/0.7204, allocations: 24 kB / 0.6326 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.7204, allocations: 12 kB / 0.6326 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009555/0.7214, allocations: 475.6 kB / 0.6331 GB, free: 3.422 MB / 446.1 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.003265/0.7247, allocations: 2.706 MB / 0.6357 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.7254, allocations: 351.3 kB / 0.6361 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.7257, allocations: 169.5 kB / 0.6362 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.7272, allocations: 1.3 MB / 0.6375 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.7273, allocations: 43.66 kB / 0.6375 GB, free: 14.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.036e-06/0.7273, allocations: 0 / 0.6375 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001731/0.729, allocations: 0.722 MB / 0.6383 GB, free: 13.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.7291, allocations: 136.5 kB / 0.6384 GB, free: 13.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.7297, allocations: 498 kB / 0.6389 GB, free: 12.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.7298, allocations: 37.7 kB / 0.6389 GB, free: 12.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.73, allocations: 275.9 kB / 0.6392 GB, free: 12.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.7302, allocations: 122.2 kB / 0.6393 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.7303, allocations: 98.11 kB / 0.6394 GB, free: 12.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.7305, allocations: 358.8 kB / 0.6397 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.7308, allocations: 152.8 kB / 0.6399 GB, free: 11.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.7313, allocations: 283.6 kB / 0.6401 GB, free: 11.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.732, allocations: 449.5 kB / 0.6406 GB, free: 11.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.732, allocations: 0 / 0.6406 GB, free: 11.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00101/0.733, allocations: 0.5291 MB / 0.6411 GB, free: 10.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.7331, allocations: 16.03 kB / 0.6411 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.7331, allocations: 4 kB / 0.6411 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.7346, allocations: 242.1 kB / 0.6413 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.735, allocations: 107.8 kB / 0.6414 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006033/0.7356, allocations: 0.5924 MB / 0.642 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.736, allocations: 47.58 kB / 0.642 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.7361, allocations: 51.92 kB / 0.6421 GB, free: 9.516 MB / 462.1 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.0003026/0.7364, allocations: 189.6 kB / 0.6423 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.7366, allocations: 55.34 kB / 0.6423 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.7382, allocations: 0.7228 MB / 0.643 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7383, allocations: 4 kB / 0.643 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7383, allocations: 4 kB / 0.643 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.7383, allocations: 7.984 kB / 0.643 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.74, allocations: 1.031 MB / 0.6441 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.74, allocations: 160 / 0.6441 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.7402, allocations: 55.91 kB / 0.6441 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/0.7433, allocations: 452.1 kB / 0.6445 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.7433, allocations: 12 kB / 0.6446 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004459/0.7438, allocations: 0.6108 MB / 0.6451 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7438, allocations: 4.062 kB / 0.6452 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.7446, allocations: 0.5159 MB / 0.6457 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.7448, allocations: 136.3 kB / 0.6458 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.7449, allocations: 15.84 kB / 0.6458 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.7452, allocations: 15.98 kB / 0.6458 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.7453, allocations: 27.91 kB / 0.6458 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.7453, allocations: 19.98 kB / 0.6459 GB, free: 5.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005401/0.7459, allocations: 418.8 kB / 0.6463 GB, free: 5.059 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7459, allocations: 7.938 kB / 0.6463 GB, free: 5.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001137/0.747, allocations: 315.8 kB / 0.6466 GB, free: 4.742 MB / 462.1 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.001275/0.7483, allocations: 458.5 kB / 0.647 GB, free: 4.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.7493, allocations: 395.9 kB / 0.6474 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.7493, allocations: 0 / 0.6474 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.7497, allocations: 163.7 kB / 0.6475 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.7514, allocations: 366.2 kB / 0.6479 GB, free: 3.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.7531, allocations: 0.9009 MB / 0.6488 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.7536, allocations: 0.8596 MB / 0.6496 GB, free: 1.566 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000902/0.7545, allocations: 205 kB / 0.6498 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.7548, allocations: 79.42 kB / 0.6499 GB, free: 1.285 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7548, allocations: 0 / 0.6499 GB, free: 1.285 MB / 462.1 MB Notification: Performance of Templates: time 0.03389/0.7887, allocations: 16.82 MB / 0.6663 GB, free: 0.5078 MB / 478.1 MB 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