Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001445/0.001445, allocations: 107 kB / 19.8 MB, free: 2.5 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.001523/0.001523, allocations: 215.8 kB / 23 MB, free: 5.57 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.457/1.457, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.9 MB / 359.4 MB, free: 4.871 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 83.84 kB / 0.4947 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.328, allocations: 66 MB / 0.5591 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.7002/1.028, allocations: 186.8 MB / 0.7416 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005351/1.034, allocations: 3.29 MB / 0.7448 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007406/1.034, allocations: 17.97 kB / 0.7448 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009384/1.035, allocations: 331.4 kB / 0.7451 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003983/1.039, allocations: 1.418 MB / 0.7465 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/1.041, allocations: 0.7342 MB / 0.7472 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002142/1.043, allocations: 1.569 MB / 0.7487 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005438/1.044, allocations: 361 kB / 0.7491 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009626/1.045, allocations: 0.595 MB / 0.7497 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/1.045, allocations: 484.3 kB / 0.7501 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-05/1.046, allocations: 52.22 kB / 0.7502 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/1.048, allocations: 1.216 MB / 0.7514 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/1.048, allocations: 161.2 kB / 0.7515 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/1.049, allocations: 351.5 kB / 0.7519 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/1.051, allocations: 1.507 MB / 0.7533 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/1.051, allocations: 5.719 kB / 0.7533 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.464e-06/1.051, allocations: 0.9375 kB / 0.7533 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.32e-05/1.051, allocations: 0 / 0.7533 GB, free: 1.566 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.00227/1.053, allocations: 1.073 MB / 0.7544 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.054, allocations: 15.58 kB / 0.7544 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009882/1.054, allocations: 142.3 kB / 0.7545 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/1.055, allocations: 0.5034 MB / 0.755 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/1.055, allocations: 32.66 kB / 0.7551 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/1.055, allocations: 41.56 kB / 0.7551 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/1.056, allocations: 0.5905 MB / 0.7557 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.056, allocations: 3.188 kB / 0.7557 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/1.057, allocations: 20.81 kB / 0.7557 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/1.057, allocations: 12.88 kB / 0.7557 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/1.057, allocations: 476.1 kB / 0.7562 GB, free: 16.49 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.003194/1.061, allocations: 2.674 MB / 0.7588 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/1.061, allocations: 334.2 kB / 0.7591 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/1.062, allocations: 159.2 kB / 0.7592 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/1.062, allocations: 436.8 kB / 0.7597 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.062, allocations: 37.5 kB / 0.7597 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/1.062, allocations: 2.141 kB / 0.7597 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001665/1.064, allocations: 0.7323 MB / 0.7604 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/1.064, allocations: 134.7 kB / 0.7605 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/1.064, allocations: 492.5 kB / 0.761 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/1.064, allocations: 36.52 kB / 0.761 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/1.065, allocations: 287.4 kB / 0.7613 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.065, allocations: 122.8 kB / 0.7614 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/1.065, allocations: 101.4 kB / 0.7615 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.065, allocations: 365.2 kB / 0.7619 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/1.065, allocations: 150.1 kB / 0.762 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/1.066, allocations: 284.2 kB / 0.7623 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/1.066, allocations: 440.2 kB / 0.7627 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.066, allocations: 4.469 kB / 0.7627 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009097/1.067, allocations: 0.5413 MB / 0.7632 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.067, allocations: 11.78 kB / 0.7633 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.067, allocations: 3.406 kB / 0.7633 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/1.069, allocations: 240 kB / 0.7635 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/1.069, allocations: 101.5 kB / 0.7636 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005046/1.07, allocations: 0.6035 MB / 0.7642 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/1.07, allocations: 51.58 kB / 0.7642 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/1.07, allocations: 50.16 kB / 0.7643 GB, free: 12.22 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.0002882/1.07, allocations: 189.4 kB / 0.7645 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.07, allocations: 54.3 kB / 0.7645 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/1.072, allocations: 1.095 MB / 0.7656 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.072, allocations: 3.719 kB / 0.7656 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.072, allocations: 0 / 0.7656 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.072, allocations: 3.891 kB / 0.7656 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.074, allocations: 1.033 MB / 0.7666 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.074, allocations: 4.438 kB / 0.7666 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/1.074, allocations: 50.19 kB / 0.7666 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/1.077, allocations: 444.5 kB / 0.7671 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/1.077, allocations: 17.22 kB / 0.7671 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005106/1.078, allocations: 0.616 MB / 0.7677 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.078, allocations: 0.9062 kB / 0.7677 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008661/1.079, allocations: 0.51 MB / 0.7682 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/1.079, allocations: 142.6 kB / 0.7683 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/1.079, allocations: 9 kB / 0.7683 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/1.079, allocations: 25.78 kB / 0.7684 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/1.079, allocations: 26.38 kB / 0.7684 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/1.079, allocations: 16.81 kB / 0.7684 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005072/1.08, allocations: 424.2 kB / 0.7688 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/1.08, allocations: 0 / 0.7688 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009707/1.081, allocations: 292.9 kB / 0.7691 GB, free: 10.52 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.0009305/1.082, allocations: 382.2 kB / 0.7694 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008308/1.083, allocations: 363.5 kB / 0.7698 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.083, allocations: 0.9688 kB / 0.7698 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/1.083, allocations: 160.1 kB / 0.7699 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/1.085, allocations: 352.4 kB / 0.7703 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/1.086, allocations: 0.9117 MB / 0.7712 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/1.087, allocations: 0.8655 MB / 0.772 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001009/1.088, allocations: 0.5608 MB / 0.7726 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/1.088, allocations: 86.12 kB / 0.7726 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/1.088, allocations: 0.9062 kB / 0.7726 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of Templates: time 0.02867/1.116, allocations: 16.26 MB / 0.7885 GB, free: 5.57 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.4686297522857785]