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.001633/0.001633, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001755/0.001755, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.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.2426/0.2426, allocations: 46.93 MB / 361.6 MB, free: 4.277 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 0.002194/0.002194, allocations: 67.91 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3702, allocations: 66.04 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.6119/0.9821, allocations: 186.9 MB / 0.7444 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004977/0.9871, allocations: 3.286 MB / 0.7476 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.9878, allocations: 22.75 kB / 0.7476 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00097/0.9888, allocations: 325.7 kB / 0.7479 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.9926, allocations: 1.436 MB / 0.7493 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.9945, allocations: 0.7503 MB / 0.75 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002114/0.9967, allocations: 1.58 MB / 0.7516 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005449/0.9972, allocations: 358.9 kB / 0.7519 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009649/0.9982, allocations: 0.6031 MB / 0.7525 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.9988, allocations: 486.4 kB / 0.753 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.952e-05/0.9989, allocations: 51.12 kB / 0.753 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/1.001, allocations: 1.236 MB / 0.7542 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/1.002, allocations: 164.7 kB / 0.7544 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003925/1.002, allocations: 350.2 kB / 0.7547 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/1.004, allocations: 1.509 MB / 0.7562 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.004, allocations: 4.219 kB / 0.7562 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/1.004, allocations: 0 / 0.7562 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.917e-05/1.004, allocations: 0.9375 kB / 0.7562 GB, free: 1.586 MB / 0.5606 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.0019/1.006, allocations: 1.006 MB / 0.7572 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.006, allocations: 10.44 kB / 0.7572 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009375/1.007, allocations: 143.1 kB / 0.7573 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/1.008, allocations: 447 kB / 0.7578 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/1.008, allocations: 30.53 kB / 0.7578 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/1.008, allocations: 41.5 kB / 0.7578 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/1.009, allocations: 0.599 MB / 0.7584 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/1.009, allocations: 3.062 kB / 0.7584 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/1.009, allocations: 19.81 kB / 0.7584 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.009, allocations: 10.69 kB / 0.7585 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/1.01, allocations: 488.1 kB / 0.7589 GB, free: 16.66 MB / 0.5762 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.002906/1.013, allocations: 2.632 MB / 0.7615 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/1.014, allocations: 329.4 kB / 0.7618 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/1.014, allocations: 163.5 kB / 0.762 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.014, allocations: 54.58 kB / 0.762 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.014, allocations: 40.2 kB / 0.762 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/1.014, allocations: 0 / 0.762 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001511/1.016, allocations: 0.6642 MB / 0.7627 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.016, allocations: 130.5 kB / 0.7628 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/1.016, allocations: 497.8 kB / 0.7633 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/1.016, allocations: 35.36 kB / 0.7633 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/1.016, allocations: 284.4 kB / 0.7636 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/1.016, allocations: 122.7 kB / 0.7637 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/1.017, allocations: 101.3 kB / 0.7638 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.017, allocations: 364 kB / 0.7642 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/1.017, allocations: 157.8 kB / 0.7643 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/1.017, allocations: 277.6 kB / 0.7646 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/1.018, allocations: 439.2 kB / 0.765 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.018, allocations: 0 / 0.765 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009061/1.019, allocations: 0.5473 MB / 0.7655 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.019, allocations: 8.344 kB / 0.7655 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.019, allocations: 3.219 kB / 0.7655 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/1.02, allocations: 240.1 kB / 0.7658 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/1.021, allocations: 105.6 kB / 0.7659 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005473/1.021, allocations: 0.6037 MB / 0.7665 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/1.022, allocations: 48.2 kB / 0.7665 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/1.022, allocations: 51.47 kB / 0.7666 GB, free: 12.99 MB / 0.5762 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.000257/1.022, allocations: 184.3 kB / 0.7667 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.022, allocations: 53.83 kB / 0.7668 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/1.024, allocations: 1.094 MB / 0.7679 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.024, allocations: 4.625 kB / 0.7679 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.024, allocations: 0 / 0.7679 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.024, allocations: 8.875 kB / 0.7679 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/1.025, allocations: 1.001 MB / 0.7688 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.025, allocations: 0 / 0.7688 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/1.025, allocations: 56.3 kB / 0.7689 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/1.028, allocations: 447.8 kB / 0.7693 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/1.028, allocations: 16.17 kB / 0.7693 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004856/1.029, allocations: 0.6132 MB / 0.7699 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.029, allocations: 5.812 kB / 0.7699 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/1.03, allocations: 0.5084 MB / 0.7704 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/1.03, allocations: 61.81 kB / 0.7705 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/1.03, allocations: 19.12 kB / 0.7705 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/1.03, allocations: 19.23 kB / 0.7705 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/1.03, allocations: 27.27 kB / 0.7706 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/1.03, allocations: 16.77 kB / 0.7706 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004639/1.031, allocations: 423.5 kB / 0.771 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.031, allocations: 3.594 kB / 0.771 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008717/1.032, allocations: 285.7 kB / 0.7713 GB, free: 11.42 MB / 0.5762 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.0007106/1.032, allocations: 362.1 kB / 0.7716 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007564/1.033, allocations: 370.3 kB / 0.772 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.033, allocations: 4.031 kB / 0.772 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/1.033, allocations: 151.2 kB / 0.7721 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.035, allocations: 362 kB / 0.7724 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.036, allocations: 0.9511 MB / 0.7734 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/1.037, allocations: 0.8544 MB / 0.7742 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.037, allocations: 122.2 kB / 0.7743 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/1.037, allocations: 0.9688 kB / 0.7743 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.01991/1.057, allocations: 14.79 MB / 0.7888 GB, free: 7.055 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/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: 11.34056189795956]