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.0009574/0.0009574, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009747/0.0009747, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.8546/0.8546, allocations: 158.6 MB / 186 MB, free: 2.758 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.1355/0.1355, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 1.283e-06/1.283e-06, allocations: 0 / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.499e-05, allocations: 2.312 kB / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2851/0.2851, allocations: 146.4 MB / 445.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006175/0.2913, allocations: 5.505 MB / 451 MB, free: 5.852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.2916, allocations: 31.75 kB / 451.1 MB, free: 5.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.2919, allocations: 194.5 kB / 451.3 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.2941, allocations: 1.286 MB / 452.5 MB, free: 4.336 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000912/0.295, allocations: 0.5923 MB / 453.1 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.2962, allocations: 1.543 MB / 454.7 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.2965, allocations: 373.5 kB / 455 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.2971, allocations: 0.7638 MB / 455.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.2975, allocations: 470.7 kB / 456.3 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.2975, allocations: 52 kB / 456.3 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1894/0.4869, allocations: 0.8328 MB / 457.2 MB, free: 6.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.4872, allocations: 165.7 kB / 457.3 MB, free: 6.059 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006674/0.4879, allocations: 249.3 kB / 457.6 MB, free: 6.059 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.4902, allocations: 1.217 MB / 458.8 MB, free: 6.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4903, allocations: 0 / 458.8 MB, free: 6.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4903, allocations: 0.5 kB / 458.8 MB, free: 6.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4903, allocations: 0.75 kB / 458.8 MB, free: 6.047 MB / 410.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.001473/0.4917, allocations: 0.9543 MB / 459.7 MB, free: 5.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4918, allocations: 10.69 kB / 459.7 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.4924, allocations: 215.6 kB / 460 MB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.4929, allocations: 383.3 kB / 460.3 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.493, allocations: 38.25 kB / 460.4 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.493, allocations: 44.02 kB / 460.4 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.4937, allocations: 0.7509 MB / 461.2 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4937, allocations: 0.9375 kB / 461.2 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.4938, allocations: 22.78 kB / 461.2 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4938, allocations: 11.12 kB / 461.2 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.4941, allocations: 211.9 kB / 461.4 MB, free: 4.762 MB / 410.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.001639/0.4958, allocations: 1.589 MB / 463 MB, free: 19.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.496, allocations: 158.5 kB / 463.1 MB, free: 19.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.4961, allocations: 107.3 kB / 463.2 MB, free: 19.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003785/0.4965, allocations: 290.4 kB / 463.5 MB, free: 19.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4965, allocations: 38.16 kB / 463.6 MB, free: 19.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.935e-06/0.4965, allocations: 0.7188 kB / 463.6 MB, free: 19.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007016/0.4973, allocations: 341 kB / 463.9 MB, free: 19.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4973, allocations: 136.9 kB / 464 MB, free: 19.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4976, allocations: 367.2 kB / 464.4 MB, free: 19.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.4976, allocations: 35.36 kB / 464.4 MB, free: 19.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4977, allocations: 242.8 kB / 464.7 MB, free: 19.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.4978, allocations: 124.5 kB / 464.8 MB, free: 19.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.615e-05/0.4979, allocations: 96.73 kB / 464.9 MB, free: 19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.498, allocations: 357.7 kB / 465.2 MB, free: 18.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.498, allocations: 45.05 kB / 465.3 MB, free: 18.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4982, allocations: 264.8 kB / 465.5 MB, free: 18.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.4984, allocations: 247.6 kB / 465.8 MB, free: 18.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4984, allocations: 2.156 kB / 465.8 MB, free: 18.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003789/0.4988, allocations: 264.5 kB / 466 MB, free: 18.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4988, allocations: 5.344 kB / 466 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4988, allocations: 9.094 kB / 466.1 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.4994, allocations: 194.2 kB / 466.2 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.4996, allocations: 95.27 kB / 466.3 MB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005351/0.5002, allocations: 0.5431 MB / 466.9 MB, free: 17.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.5003, allocations: 40.5 kB / 466.9 MB, free: 17.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.5004, allocations: 36.16 kB / 467 MB, free: 17.73 MB / 426.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.0001167/0.5005, allocations: 136.9 kB / 467.1 MB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.5006, allocations: 45.59 kB / 467.1 MB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/0.5012, allocations: 0.5166 MB / 467.6 MB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5012, allocations: 3.969 kB / 467.7 MB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.5012, allocations: 1.031 kB / 467.7 MB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5012, allocations: 4.234 kB / 467.7 MB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.5019, allocations: 0.5708 MB / 468.2 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5019, allocations: 3.781 kB / 468.2 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.502, allocations: 52.73 kB / 468.3 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.503, allocations: 308.1 kB / 468.6 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.503, allocations: 14.06 kB / 468.6 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002128/0.5032, allocations: 0.5576 MB / 469.2 MB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.5033, allocations: 8.25 kB / 469.2 MB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.5035, allocations: 312.6 kB / 469.5 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.5036, allocations: 52.23 kB / 469.5 MB, free: 16.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.5036, allocations: 17.69 kB / 469.5 MB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.5037, allocations: 14.47 kB / 469.6 MB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.5038, allocations: 26.41 kB / 469.6 MB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.5038, allocations: 15.02 kB / 469.6 MB, free: 16.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.5039, allocations: 170.9 kB / 469.8 MB, free: 16.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5039, allocations: 0.9688 kB / 469.8 MB, free: 16.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006284/0.5045, allocations: 286.7 kB / 470 MB, free: 16.4 MB / 426.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.0005466/0.5051, allocations: 374.6 kB / 470.4 MB, free: 16.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.5053, allocations: 200 kB / 470.6 MB, free: 16.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.5054, allocations: 6.562 kB / 470.6 MB, free: 16.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.5055, allocations: 93.78 kB / 470.7 MB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/0.5061, allocations: 287.3 kB / 471 MB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009215/0.507, allocations: 0.8339 MB / 471.8 MB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.679e-05/0.5071, allocations: 126.3 kB / 471.9 MB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.5074, allocations: 172.2 kB / 472.1 MB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/0.5079, allocations: 281.1 kB / 472.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5079, allocations: 0.9062 kB / 472.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of Templates: time 0.01679/0.5247, allocations: 15.99 MB / 488.4 MB, free: 13.81 MB / 426.7 MB " [Timeout remaining time 659] 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.718660854268819]