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.001469/0.001469, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001699/0.001699, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2293/0.2293, allocations: 46.93 MB / 360.8 MB, free: 4.262 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.002412/0.002412, allocations: 71.89 kB / 0.4967 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4286, allocations: 66.02 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.7093/1.138, allocations: 186.9 MB / 0.7436 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005667/1.144, allocations: 3.291 MB / 0.7468 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008649/1.144, allocations: 25.84 kB / 0.7469 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/1.145, allocations: 327.9 kB / 0.7472 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004019/1.149, allocations: 1.432 MB / 0.7486 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/1.151, allocations: 0.7471 MB / 0.7493 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002103/1.154, allocations: 1.577 MB / 0.7508 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/1.154, allocations: 365.3 kB / 0.7512 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/1.155, allocations: 0.5978 MB / 0.7518 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007477/1.156, allocations: 489.3 kB / 0.7522 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.978e-05/1.156, allocations: 52.12 kB / 0.7523 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/1.159, allocations: 1.236 MB / 0.7535 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/1.159, allocations: 167.6 kB / 0.7537 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005136/1.16, allocations: 354 kB / 0.754 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/1.163, allocations: 1.507 MB / 0.7555 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/1.163, allocations: 3.375 kB / 0.7555 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.325e-06/1.163, allocations: 1.062 kB / 0.7555 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.129e-05/1.163, allocations: 0 / 0.7555 GB, free: 1.57 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.002221/1.165, allocations: 1.002 MB / 0.7564 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.165, allocations: 10.25 kB / 0.7565 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009765/1.166, allocations: 145.3 kB / 0.7566 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/1.167, allocations: 443 kB / 0.757 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/1.167, allocations: 35.02 kB / 0.7571 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/1.167, allocations: 42.09 kB / 0.7571 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/1.168, allocations: 0.5924 MB / 0.7577 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/1.168, allocations: 4.156 kB / 0.7577 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/1.168, allocations: 18.81 kB / 0.7577 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/1.168, allocations: 10.66 kB / 0.7577 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/1.169, allocations: 482.4 kB / 0.7582 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.003397/1.172, allocations: 2.638 MB / 0.7607 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/1.173, allocations: 332.2 kB / 0.7611 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/1.173, allocations: 159.8 kB / 0.7612 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/1.174, allocations: 52.69 kB / 0.7613 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/1.174, allocations: 38.34 kB / 0.7613 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.276e-06/1.174, allocations: 0 / 0.7613 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001707/1.175, allocations: 0.6601 MB / 0.7619 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.176, allocations: 133.8 kB / 0.7621 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/1.176, allocations: 500 kB / 0.7625 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/1.176, allocations: 32.23 kB / 0.7626 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/1.176, allocations: 284.5 kB / 0.7628 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/1.176, allocations: 126.6 kB / 0.763 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/1.177, allocations: 101.8 kB / 0.7631 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.177, allocations: 363 kB / 0.7634 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/1.177, allocations: 152.1 kB / 0.7636 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/1.177, allocations: 283 kB / 0.7638 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/1.178, allocations: 444.5 kB / 0.7642 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.178, allocations: 3.406 kB / 0.7643 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009702/1.179, allocations: 0.5382 MB / 0.7648 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.179, allocations: 8.5 kB / 0.7648 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.179, allocations: 5.844 kB / 0.7648 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/1.181, allocations: 240.9 kB / 0.765 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/1.181, allocations: 105.5 kB / 0.7651 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006171/1.182, allocations: 0.6031 MB / 0.7657 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/1.182, allocations: 50.53 kB / 0.7658 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/1.182, allocations: 48.05 kB / 0.7658 GB, free: 12.98 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.000318/1.182, allocations: 179.7 kB / 0.766 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.183, allocations: 58.88 kB / 0.766 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/1.185, allocations: 1.094 MB / 0.7671 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.185, allocations: 3.219 kB / 0.7671 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.185, allocations: 3.938 kB / 0.7671 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/1.185, allocations: 3 kB / 0.7671 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/1.186, allocations: 1.004 MB / 0.7681 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.186, allocations: 2.844 kB / 0.7681 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/1.186, allocations: 53.97 kB / 0.7681 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003137/1.19, allocations: 443.1 kB / 0.7686 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/1.19, allocations: 12.31 kB / 0.7686 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006248/1.19, allocations: 0.6153 MB / 0.7692 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.19, allocations: 1.094 kB / 0.7692 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/1.191, allocations: 0.5111 MB / 0.7697 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/1.191, allocations: 64.41 kB / 0.7697 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.192, allocations: 12.86 kB / 0.7698 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/1.192, allocations: 19.56 kB / 0.7698 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.192, allocations: 30.23 kB / 0.7698 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/1.192, allocations: 19.61 kB / 0.7698 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005709/1.193, allocations: 428.4 kB / 0.7702 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.193, allocations: 0 / 0.7702 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001123/1.194, allocations: 285.5 kB / 0.7705 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.0008544/1.195, allocations: 362.2 kB / 0.7708 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008933/1.195, allocations: 367.4 kB / 0.7712 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.195, allocations: 2.5 kB / 0.7712 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/1.196, allocations: 156 kB / 0.7713 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.001665/1.197, allocations: 367.6 kB / 0.7717 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/1.199, allocations: 0.9183 MB / 0.7726 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/1.2, allocations: 0.8645 MB / 0.7734 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001092/1.201, allocations: 0.5539 MB / 0.774 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/1.201, allocations: 93.47 kB / 0.7741 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.201, allocations: 0.6562 kB / 0.7741 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.03039/1.231, allocations: 16.36 MB / 0.79 GB, free: 6.395 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/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.901794543955475]