Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001592/0.001592, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001921/0.001921, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 44.91 MB / 359.6 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 75.88 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3221, allocations: 65.46 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5366/0.8586, allocations: 186.9 MB / 0.7407 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004988/0.8636, allocations: 3.294 MB / 0.744 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.8644, allocations: 22.06 kB / 0.744 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.8654, allocations: 328.9 kB / 0.7443 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.8699, allocations: 1.433 MB / 0.7457 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.8722, allocations: 0.7441 MB / 0.7464 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002522/0.8747, allocations: 1.587 MB / 0.748 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.8753, allocations: 361.6 kB / 0.7483 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.8764, allocations: 0.6018 MB / 0.7489 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.877, allocations: 489 kB / 0.7494 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.8771, allocations: 54.41 kB / 0.7494 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.8796, allocations: 1.226 MB / 0.7506 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.8798, allocations: 167.8 kB / 0.7508 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.8802, allocations: 348.5 kB / 0.7511 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.8824, allocations: 1.511 MB / 0.7526 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.8824, allocations: 0.9062 kB / 0.7526 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8824, allocations: 0 / 0.7526 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.8825, allocations: 0.9062 kB / 0.7526 GB, free: 1.633 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.001941/0.8844, allocations: 1.003 MB / 0.7536 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.8844, allocations: 6.875 kB / 0.7536 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009887/0.8854, allocations: 143.2 kB / 0.7537 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.8863, allocations: 446.7 kB / 0.7541 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.8863, allocations: 31.53 kB / 0.7542 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.8864, allocations: 41.28 kB / 0.7542 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/0.8874, allocations: 0.5974 MB / 0.7548 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.8874, allocations: 0.9375 kB / 0.7548 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.8874, allocations: 21.25 kB / 0.7548 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.8874, allocations: 11.47 kB / 0.7548 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.8883, allocations: 483.8 kB / 0.7553 GB, free: 16.72 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.003081/0.8914, allocations: 2.633 MB / 0.7579 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/0.892, allocations: 332 kB / 0.7582 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.8923, allocations: 160 kB / 0.7583 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.8926, allocations: 57.39 kB / 0.7584 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.8926, allocations: 42.62 kB / 0.7584 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.8926, allocations: 0 / 0.7584 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001583/0.8942, allocations: 0.6618 MB / 0.7591 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.8943, allocations: 134.9 kB / 0.7592 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.8948, allocations: 498.8 kB / 0.7597 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.8948, allocations: 31.77 kB / 0.7597 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.895, allocations: 287.1 kB / 0.76 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.258e-05/0.8951, allocations: 125.5 kB / 0.7601 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.8952, allocations: 104.3 kB / 0.7602 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8954, allocations: 361.3 kB / 0.7605 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.8957, allocations: 150.7 kB / 0.7607 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.896, allocations: 280.7 kB / 0.7609 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.8966, allocations: 442.5 kB / 0.7614 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8966, allocations: 0.7188 kB / 0.7614 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009282/0.8976, allocations: 0.5434 MB / 0.7619 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.8976, allocations: 5.094 kB / 0.7619 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8976, allocations: 5.984 kB / 0.7619 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.8991, allocations: 242.9 kB / 0.7621 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.8994, allocations: 107.6 kB / 0.7622 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004993/0.8999, allocations: 0.5984 MB / 0.7628 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.9003, allocations: 56.41 kB / 0.7629 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.9004, allocations: 43.73 kB / 0.7629 GB, free: 13.05 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.0002808/0.9007, allocations: 184.9 kB / 0.7631 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.9008, allocations: 55.17 kB / 0.7632 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.9025, allocations: 1.099 MB / 0.7642 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.9025, allocations: 2.438 kB / 0.7642 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.9025, allocations: 0 / 0.7642 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.9025, allocations: 3.547 kB / 0.7642 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.9039, allocations: 1.004 MB / 0.7652 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9039, allocations: 3.922 kB / 0.7652 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.9041, allocations: 59.41 kB / 0.7653 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/0.9072, allocations: 441.9 kB / 0.7657 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.9072, allocations: 11.55 kB / 0.7657 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004985/0.9077, allocations: 0.6126 MB / 0.7663 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.9077, allocations: 6.719 kB / 0.7663 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.9086, allocations: 0.5109 MB / 0.7668 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.9087, allocations: 61.97 kB / 0.7669 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.9088, allocations: 15.8 kB / 0.7669 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.9092, allocations: 15.73 kB / 0.7669 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.9092, allocations: 30.64 kB / 0.7669 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.9093, allocations: 17.5 kB / 0.7669 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004745/0.9097, allocations: 424.5 kB / 0.7674 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9097, allocations: 0 / 0.7674 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009362/0.9107, allocations: 291.8 kB / 0.7676 GB, free: 11.48 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.0007021/0.9114, allocations: 367.2 kB / 0.768 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008054/0.9122, allocations: 362.1 kB / 0.7683 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.9122, allocations: 0.75 kB / 0.7683 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.9125, allocations: 154.5 kB / 0.7685 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.9141, allocations: 362.4 kB / 0.7688 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.9156, allocations: 0.9518 MB / 0.7697 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.916, allocations: 0.858 MB / 0.7706 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.9164, allocations: 125.1 kB / 0.7707 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.9164, allocations: 4.938 kB / 0.7707 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02107/0.9375, allocations: 14.79 MB / 0.7852 GB, free: 7.484 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.903275221120566]