Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001241/0.001241, allocations: 81.86 kB / 21.44 MB, free: 3.055 MB / 18.57 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.001173/0.001173, allocations: 168.5 kB / 24.84 MB, free: 8.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9501/0.9501, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1379/0.1379, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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_3.2.3_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.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.537e-05, allocations: 4.281 kB / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2785/0.2785, allocations: 144.3 MB / 493.3 MB, free: 9.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004571/0.2831, allocations: 5.409 MB / 498.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.2834, allocations: 27 kB / 498.7 MB, free: 8.496 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.2838, allocations: 183.2 kB / 498.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.2855, allocations: 1.279 MB / 0.4884 GB, free: 7.594 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.2862, allocations: 0.5988 MB / 0.489 GB, free: 7.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008559/0.2871, allocations: 1.547 MB / 0.4905 GB, free: 6.348 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.2874, allocations: 371.9 kB / 0.4909 GB, free: 6.082 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.2879, allocations: 0.7647 MB / 0.4916 GB, free: 5.633 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.2882, allocations: 485.7 kB / 0.4921 GB, free: 5.395 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.2883, allocations: 52 kB / 0.4921 GB, free: 5.395 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.2891, allocations: 0.8362 MB / 0.493 GB, free: 5.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.2892, allocations: 167.2 kB / 0.4931 GB, free: 4.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.2893, allocations: 249.3 kB / 0.4934 GB, free: 4.766 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.2902, allocations: 1.213 MB / 0.4945 GB, free: 4.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2902, allocations: 0 / 0.4945 GB, free: 4.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2902, allocations: 0 / 0.4945 GB, free: 4.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2902, allocations: 1.969 kB / 0.4945 GB, free: 4.059 MB / 362.7 MB 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.0009974/0.2912, allocations: 1.101 MB / 0.4956 GB, free: 3.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2913, allocations: 11.12 kB / 0.4956 GB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/0.2918, allocations: 210.1 kB / 0.4958 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.2922, allocations: 442.6 kB / 0.4963 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2922, allocations: 34.22 kB / 0.4963 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.2923, allocations: 48.91 kB / 0.4963 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.2928, allocations: 0.7637 MB / 0.4971 GB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2928, allocations: 7.406 kB / 0.4971 GB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.2928, allocations: 17.38 kB / 0.4971 GB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2928, allocations: 14.94 kB / 0.4971 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.2931, allocations: 230.1 kB / 0.4973 GB, free: 1.891 MB / 362.7 MB 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.001276/0.2944, allocations: 2.226 MB / 0.4995 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.2947, allocations: 197.8 kB / 0.4997 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.2948, allocations: 72.22 kB / 0.4998 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/0.2951, allocations: 276.6 kB / 0.5 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2951, allocations: 45.67 kB / 0.5001 GB, free: 15.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.2951, allocations: 0 / 0.5001 GB, free: 15.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007367/0.2959, allocations: 434.2 kB / 0.5005 GB, free: 14.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2959, allocations: 140.5 kB / 0.5006 GB, free: 14.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.2962, allocations: 434.3 kB / 0.501 GB, free: 14.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.2962, allocations: 29.7 kB / 0.5011 GB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.2964, allocations: 347 kB / 0.5014 GB, free: 13.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.87e-05/0.2965, allocations: 130.9 kB / 0.5015 GB, free: 13.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2966, allocations: 107.8 kB / 0.5016 GB, free: 13.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2968, allocations: 0.5351 MB / 0.5021 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.2969, allocations: 58.08 kB / 0.5022 GB, free: 13.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2971, allocations: 316.4 kB / 0.5025 GB, free: 12.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.2974, allocations: 303.2 kB / 0.5028 GB, free: 12.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2974, allocations: 4 kB / 0.5028 GB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005023/0.2979, allocations: 372.6 kB / 0.5032 GB, free: 11.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2979, allocations: 8 kB / 0.5032 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2979, allocations: 3.938 kB / 0.5032 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.2985, allocations: 211.9 kB / 0.5034 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.2987, allocations: 99.83 kB / 0.5035 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003234/0.2991, allocations: 0.8156 MB / 0.5043 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.2992, allocations: 43.55 kB / 0.5043 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.2992, allocations: 43.98 kB / 0.5043 GB, free: 10.67 MB / 378.7 MB 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.0001206/0.2994, allocations: 196.3 kB / 0.5045 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.2994, allocations: 63.66 kB / 0.5046 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008125/0.3002, allocations: 0.5815 MB / 0.5052 GB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3002, allocations: 4 kB / 0.5052 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3002, allocations: 0 / 0.5052 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3003, allocations: 0 / 0.5052 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.3009, allocations: 0.7612 MB / 0.5059 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3009, allocations: 4 kB / 0.5059 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.301, allocations: 51.91 kB / 0.506 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.3021, allocations: 323.3 kB / 0.5063 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3022, allocations: 8 kB / 0.5063 GB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002824/0.3024, allocations: 0.8437 MB / 0.5071 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3024, allocations: 0 / 0.5071 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.3028, allocations: 461.1 kB / 0.5075 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.3028, allocations: 43.59 kB / 0.5076 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.3028, allocations: 15.92 kB / 0.5076 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.303, allocations: 16.03 kB / 0.5076 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.303, allocations: 39.88 kB / 0.5076 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.303, allocations: 16.05 kB / 0.5077 GB, free: 7.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.3032, allocations: 299 kB / 0.5079 GB, free: 6.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3032, allocations: 0 / 0.5079 GB, free: 6.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004912/0.3037, allocations: 287.2 kB / 0.5082 GB, free: 6.523 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.0008839/0.3046, allocations: 399.1 kB / 0.5086 GB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.3049, allocations: 224.8 kB / 0.5088 GB, free: 5.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3049, allocations: 0 / 0.5088 GB, free: 5.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.305, allocations: 104 kB / 0.5089 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.3057, allocations: 290.7 kB / 0.5092 GB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.3067, allocations: 0.8324 MB / 0.51 GB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.486e-05/0.3068, allocations: 134.4 kB / 0.5101 GB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.3071, allocations: 174.4 kB / 0.5103 GB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.3076, allocations: 337.9 kB / 0.5106 GB, free: 3.996 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3076, allocations: 0 / 0.5106 GB, free: 3.996 MB / 378.7 MB Notification: Performance of Templates: time 0.01839/0.326, allocations: 16.29 MB / 0.5265 GB, free: 3.797 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8735535419546068]