Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002448/0.002448, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 84.42 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.519/0.519, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004771, allocations: 8 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1284, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5409/0.6694, allocations: 147 MB / 0.6223 GB, free: 4.109 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.6837, allocations: 6.752 MB / 0.6289 GB, free: 13.35 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.6845, allocations: 19.88 kB / 0.6289 GB, free: 13.33 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.6858, allocations: 254.7 kB / 0.6292 GB, free: 13.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.6912, allocations: 1.278 MB / 0.6304 GB, free: 11.81 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.6938, allocations: 0.6091 MB / 0.631 GB, free: 11.21 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.6963, allocations: 0.9106 MB / 0.6319 GB, free: 10.29 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.6972, allocations: 358.8 kB / 0.6322 GB, free: 9.941 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.6986, allocations: 0.4946 MB / 0.6327 GB, free: 9.445 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.6994, allocations: 330.8 kB / 0.633 GB, free: 9.121 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.6995, allocations: 28 kB / 0.6331 GB, free: 9.094 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003762/0.7033, allocations: 1.174 MB / 0.6342 GB, free: 7.918 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.7036, allocations: 131.5 kB / 0.6343 GB, free: 7.789 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.704, allocations: 153.3 kB / 0.6345 GB, free: 7.633 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.7067, allocations: 1.068 MB / 0.6355 GB, free: 6.562 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7068, allocations: 0 / 0.6355 GB, free: 6.562 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.73e-06/0.7068, allocations: 0 / 0.6355 GB, free: 6.562 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.7068, allocations: 7.938 kB / 0.6355 GB, free: 6.555 MB / 458.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.002597/0.7094, allocations: 0.9468 MB / 0.6365 GB, free: 5.555 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.7095, allocations: 8.031 kB / 0.6365 GB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.7109, allocations: 139.2 kB / 0.6366 GB, free: 5.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.712, allocations: 460.8 kB / 0.637 GB, free: 4.922 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.7121, allocations: 33 kB / 0.6371 GB, free: 4.887 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.7122, allocations: 36 kB / 0.6371 GB, free: 4.852 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.7139, allocations: 0.5945 MB / 0.6377 GB, free: 4.219 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.714, allocations: 7.922 kB / 0.6377 GB, free: 4.211 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.886e-05/0.7141, allocations: 23.95 kB / 0.6377 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.7141, allocations: 12 kB / 0.6377 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.7158, allocations: 487.6 kB / 0.6382 GB, free: 3.699 MB / 458.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.004928/0.7207, allocations: 2.674 MB / 0.6408 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.722, allocations: 355.9 kB / 0.6411 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000517/0.7225, allocations: 326.1 kB / 0.6415 GB, free: 76 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.7226, allocations: 34.84 kB / 0.6415 GB, free: 32 kB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 3.216e-06/0.7226, allocations: 0 / 0.6415 GB, free: 32 kB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.002881/0.7255, allocations: 0.7388 MB / 0.6422 GB, free: 15.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.7256, allocations: 140.5 kB / 0.6423 GB, free: 15.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.7265, allocations: 490.1 kB / 0.6428 GB, free: 14.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.7266, allocations: 33.7 kB / 0.6428 GB, free: 14.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.7269, allocations: 314.2 kB / 0.6431 GB, free: 14.26 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.7271, allocations: 114.3 kB / 0.6433 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.7272, allocations: 7.938 kB / 0.6433 GB, free: 14.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7273, allocations: 330.8 kB / 0.6436 GB, free: 13.81 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.7279, allocations: 160.8 kB / 0.6437 GB, free: 13.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.7286, allocations: 275.7 kB / 0.644 GB, free: 13.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.7292, allocations: 193 kB / 0.6442 GB, free: 13.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.7292, allocations: 0 / 0.6442 GB, free: 13.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001704/0.7309, allocations: 0.5138 MB / 0.6447 GB, free: 12.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.731, allocations: 13.75 kB / 0.6447 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.731, allocations: 4 kB / 0.6447 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/0.7338, allocations: 288.5 kB / 0.645 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.7345, allocations: 107.9 kB / 0.6451 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007794/0.7353, allocations: 0.5991 MB / 0.6457 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.7361, allocations: 71.5 kB / 0.6457 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.7362, allocations: 47.98 kB / 0.6458 GB, free: 11.47 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004021/0.7366, allocations: 181.7 kB / 0.6459 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.7368, allocations: 59.34 kB / 0.646 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.7397, allocations: 0.748 MB / 0.6467 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.7397, allocations: 7.953 kB / 0.6467 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.7397, allocations: 0 / 0.6467 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.7397, allocations: 3.984 kB / 0.6467 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.7422, allocations: 1.01 MB / 0.6477 GB, free: 9.371 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.7422, allocations: 4 kB / 0.6477 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.7427, allocations: 52.78 kB / 0.6478 GB, free: 9.316 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00612/0.7488, allocations: 0.5433 MB / 0.6483 GB, free: 8.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/0.7489, allocations: 8 kB / 0.6483 GB, free: 8.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007143/0.7497, allocations: 0.6147 MB / 0.6489 GB, free: 8.121 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.7497, allocations: 4.031 kB / 0.6489 GB, free: 8.117 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.7512, allocations: 0.5807 MB / 0.6495 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.7515, allocations: 152.3 kB / 0.6496 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.7517, allocations: 8 kB / 0.6496 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.7523, allocations: 35.97 kB / 0.6497 GB, free: 7.262 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.7524, allocations: 23.97 kB / 0.6497 GB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.7525, allocations: 16 kB / 0.6497 GB, free: 7.223 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007522/0.7533, allocations: 382.8 kB / 0.6501 GB, free: 6.852 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7533, allocations: 4 kB / 0.6501 GB, free: 6.848 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001393/0.7547, allocations: 335.6 kB / 0.6504 GB, free: 6.52 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/0.7563, allocations: 447.6 kB / 0.6508 GB, free: 6.078 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.7578, allocations: 382.6 kB / 0.6512 GB, free: 5.707 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7578, allocations: 4 kB / 0.6512 GB, free: 5.703 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.7584, allocations: 180.2 kB / 0.6514 GB, free: 5.531 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.761, allocations: 281.5 kB / 0.6516 GB, free: 5.262 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.7633, allocations: 1.097 MB / 0.6527 GB, free: 4.121 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.764, allocations: 0.8827 MB / 0.6536 GB, free: 3.211 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.7646, allocations: 95.41 kB / 0.6537 GB, free: 3.117 MB / 474.7 MB Notification: Performance of SimCode: time 1.283e-06/0.7646, allocations: 0 / 0.6537 GB, free: 3.117 MB / 474.7 MB Notification: Performance of Templates: time 0.03441/0.799, allocations: 14.56 MB / 0.6679 GB, free: 4.562 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches