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.0009687/0.0009687, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001616/0.001616, allocations: 163.5 kB / 24.91 MB, free: 8.258 MB / 18.57 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 0.9935/0.9935, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.2476/0.2476, allocations: 34.86 MB / 296.6 MB, free: 0.5352 MB / 266.7 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.[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_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.[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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.181e-05, allocations: 5.125 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2958/0.2958, allocations: 148.2 MB / 474.1 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.2998, allocations: 3.076 MB / 477.2 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.3004, allocations: 23.66 kB / 477.2 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.3009, allocations: 187.7 kB / 477.4 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.3037, allocations: 1.234 MB / 478.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3048, allocations: 0.598 MB / 479.2 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.3067, allocations: 1.563 MB / 480.8 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000751/0.3074, allocations: 376.9 kB / 481.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.3085, allocations: 0.7698 MB / 481.9 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/0.3092, allocations: 467.2 kB / 482.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.78e-05/0.3093, allocations: 52.28 kB / 482.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.3109, allocations: 0.8101 MB / 483.2 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.311, allocations: 166.1 kB / 483.4 MB, free: 15.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.3112, allocations: 259.2 kB / 483.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.3129, allocations: 1.198 MB / 484.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3129, allocations: 3.938 kB / 484.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3129, allocations: 2.906 kB / 484.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3129, allocations: 0 / 484.8 MB, free: 15.62 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.001187/0.3141, allocations: 0.9345 MB / 485.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3141, allocations: 9.156 kB / 485.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/0.3147, allocations: 223.2 kB / 486 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.3152, allocations: 379.8 kB / 486.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3152, allocations: 38.17 kB / 486.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.3152, allocations: 42.41 kB / 486.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.3157, allocations: 0.7528 MB / 487.2 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3158, allocations: 0 / 487.2 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.3158, allocations: 19.28 kB / 487.2 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3158, allocations: 11.28 kB / 487.2 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.3161, allocations: 220.3 kB / 487.5 MB, free: 14.31 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.001254/0.3173, allocations: 1.567 MB / 489 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.3176, allocations: 162.3 kB / 489.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.3177, allocations: 104.8 kB / 489.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.3179, allocations: 92.89 kB / 489.4 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3179, allocations: 43.38 kB / 489.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.3179, allocations: 0 / 489.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006309/0.3185, allocations: 349.8 kB / 489.8 MB, free: 13.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.3186, allocations: 136.7 kB / 489.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3188, allocations: 364.4 kB / 490.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3188, allocations: 34.92 kB / 490.3 MB, free: 12.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.3189, allocations: 239.9 kB / 490.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.3189, allocations: 127.2 kB / 490.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.319, allocations: 91.95 kB / 490.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.3191, allocations: 356.5 kB / 491.1 MB, free: 12.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.3191, allocations: 47.3 kB / 491.1 MB, free: 12.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3193, allocations: 259.2 kB / 491.4 MB, free: 12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3194, allocations: 248.6 kB / 491.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3194, allocations: 3.438 kB / 491.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000291/0.3197, allocations: 268.5 kB / 491.9 MB, free: 11.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3198, allocations: 16.44 kB / 491.9 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3198, allocations: 6.75 kB / 491.9 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.3204, allocations: 200.5 kB / 492.1 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.3205, allocations: 85.03 kB / 492.2 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001825/0.3207, allocations: 0.5504 MB / 492.7 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.3208, allocations: 36.41 kB / 492.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.3209, allocations: 38.22 kB / 492.8 MB, free: 11.25 MB / 410.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.0001138/0.321, allocations: 147.9 kB / 493 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.3211, allocations: 42.58 kB / 493 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008444/0.3219, allocations: 0.8659 MB / 493.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3219, allocations: 5.219 kB / 493.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.3219, allocations: 0 / 493.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3219, allocations: 5.578 kB / 493.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.3225, allocations: 0.5694 MB / 494.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3225, allocations: 2.719 kB / 494.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-05/0.3226, allocations: 45.14 kB / 494.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.3236, allocations: 319.8 kB / 494.8 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3237, allocations: 8.812 kB / 494.8 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001491/0.3238, allocations: 0.553 MB / 495.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3238, allocations: 6.141 kB / 495.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.324, allocations: 339 kB / 495.7 MB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.3241, allocations: 49.44 kB / 495.7 MB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.3241, allocations: 14.45 kB / 495.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3243, allocations: 13.88 kB / 495.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.3243, allocations: 25.89 kB / 495.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3243, allocations: 14.73 kB / 495.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3245, allocations: 174.3 kB / 496 MB, free: 9.906 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3245, allocations: 0 / 496 MB, free: 9.906 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006578/0.3251, allocations: 279.5 kB / 496.3 MB, free: 9.859 MB / 410.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.0005403/0.3257, allocations: 342.9 kB / 496.6 MB, free: 9.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.3261, allocations: 199.3 kB / 496.8 MB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.3261, allocations: 5.281 kB / 496.8 MB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3262, allocations: 90.5 kB / 496.9 MB, free: 9.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.3269, allocations: 298.6 kB / 497.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.328, allocations: 0.8307 MB / 498 MB, free: 9.191 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.3281, allocations: 135.2 kB / 498.1 MB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005677/0.3286, allocations: 470.1 kB / 498.6 MB, free: 9.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.3291, allocations: 294.5 kB / 498.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of SimCode: time 1.223e-06/0.3291, allocations: 4 kB / 498.9 MB, free: 8.98 MB / 410.7 MB Notification: Performance of Templates: time 0.01767/0.3468, allocations: 15.82 MB / 0.5026 GB, free: 15.46 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.7900662259198725]