Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 116.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.3 MB / 255.2 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2331/0.2331, allocations: 46.92 MB / 358.2 MB, free: 10.41 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 79.86 kB / 0.4925 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1288, allocations: 66 MB / 0.557 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.523/0.6519, allocations: 186.6 MB / 0.7392 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.6578, allocations: 3.274 MB / 0.7424 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000717/0.6585, allocations: 19.81 kB / 0.7424 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.6596, allocations: 321.8 kB / 0.7427 GB, free: 3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.6639, allocations: 1.423 MB / 0.7441 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.6664, allocations: 0.7204 MB / 0.7448 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.6691, allocations: 1.568 MB / 0.7464 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007218/0.6699, allocations: 375.9 kB / 0.7467 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.671, allocations: 0.6073 MB / 0.7473 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000657/0.6716, allocations: 490 kB / 0.7478 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-05/0.6717, allocations: 52 kB / 0.7478 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.6745, allocations: 1.209 MB / 0.749 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.6747, allocations: 167.4 kB / 0.7492 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.6751, allocations: 350.4 kB / 0.7495 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.6779, allocations: 1.507 MB / 0.751 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.678, allocations: 0 / 0.751 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.435e-06/0.678, allocations: 0 / 0.751 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.678, allocations: 0 / 0.751 GB, free: 10.54 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.002284/0.6803, allocations: 1.078 MB / 0.752 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.6803, allocations: 12.03 kB / 0.752 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.6813, allocations: 143.5 kB / 0.7522 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000867/0.6822, allocations: 0.489 MB / 0.7527 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.6822, allocations: 36.94 kB / 0.7527 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.6823, allocations: 43.94 kB / 0.7527 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.6834, allocations: 0.5945 MB / 0.7533 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6835, allocations: 0 / 0.7533 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.6835, allocations: 23.98 kB / 0.7533 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.6835, allocations: 12 kB / 0.7533 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009794/0.6845, allocations: 479.6 kB / 0.7538 GB, free: 7.516 MB / 0.5606 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.003321/0.6878, allocations: 2.671 MB / 0.7564 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.6886, allocations: 333.3 kB / 0.7567 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.689, allocations: 157.3 kB / 0.7569 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/0.6894, allocations: 437.8 kB / 0.7573 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.6895, allocations: 34.84 kB / 0.7573 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.6895, allocations: 0 / 0.7573 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001893/0.6914, allocations: 0.7423 MB / 0.7581 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.6914, allocations: 132.5 kB / 0.7582 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.6921, allocations: 494.1 kB / 0.7587 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.6921, allocations: 33.7 kB / 0.7587 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.6923, allocations: 292.2 kB / 0.759 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.6925, allocations: 123 kB / 0.7591 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.6927, allocations: 102 kB / 0.7592 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.6928, allocations: 358.8 kB / 0.7595 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.6932, allocations: 152.8 kB / 0.7597 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.6936, allocations: 283.7 kB / 0.7599 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/0.6944, allocations: 445.3 kB / 0.7604 GB, free: 284 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.6944, allocations: 4 kB / 0.7604 GB, free: 280 kB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0012/0.6956, allocations: 0.5406 MB / 0.7609 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6957, allocations: 11.94 kB / 0.7609 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6957, allocations: 5.484 kB / 0.7609 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.6973, allocations: 245 kB / 0.7611 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.6977, allocations: 111.8 kB / 0.7613 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005507/0.6982, allocations: 0.5953 MB / 0.7618 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.6986, allocations: 51.61 kB / 0.7619 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/0.6987, allocations: 40 kB / 0.7619 GB, free: 14.64 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.0003012/0.699, allocations: 193.7 kB / 0.7621 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.6991, allocations: 55.67 kB / 0.7622 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.7012, allocations: 1.084 MB / 0.7632 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7012, allocations: 4 kB / 0.7632 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7012, allocations: 0 / 0.7632 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.7012, allocations: 7.984 kB / 0.7632 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.7029, allocations: 1.03 MB / 0.7642 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7029, allocations: 0 / 0.7642 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.7031, allocations: 47.97 kB / 0.7643 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/0.7064, allocations: 457.3 kB / 0.7647 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.7064, allocations: 8 kB / 0.7647 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/0.707, allocations: 0.607 MB / 0.7653 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.707, allocations: 4.031 kB / 0.7653 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.708, allocations: 0.5144 MB / 0.7658 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.7082, allocations: 140.7 kB / 0.766 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.7083, allocations: 8.875 kB / 0.766 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.7086, allocations: 23.92 kB / 0.766 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.7087, allocations: 23.97 kB / 0.766 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.7088, allocations: 19.94 kB / 0.766 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006056/0.7094, allocations: 426.8 kB / 0.7664 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7094, allocations: 0 / 0.7664 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00095/0.7103, allocations: 291.2 kB / 0.7667 GB, free: 9.559 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.0008341/0.7111, allocations: 370.3 kB / 0.7671 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009368/0.7121, allocations: 368.1 kB / 0.7674 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7121, allocations: 3.906 kB / 0.7674 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.7125, allocations: 156.9 kB / 0.7676 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.7142, allocations: 363.3 kB / 0.7679 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.7158, allocations: 0.9439 MB / 0.7688 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.7163, allocations: 0.8596 MB / 0.7697 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.7167, allocations: 123.4 kB / 0.7698 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.7167, allocations: 0 / 0.7698 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of Templates: time 0.02292/0.7397, allocations: 14.79 MB / 0.7842 GB, free: 7.578 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.790928275993792]