Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001286/0.001286, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001449/0.001449, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9185/0.9185, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2458/0.2458, allocations: 34.26 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.188e-05, allocations: 3.156 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3123/0.3123, allocations: 148.2 MB / 473.4 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.3156, allocations: 3.077 MB / 476.5 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.3158, allocations: 20.31 kB / 476.5 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.3162, allocations: 189.1 kB / 476.7 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.3179, allocations: 1.236 MB / 477.9 MB, free: 16.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.3187, allocations: 0.5999 MB / 478.5 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3198, allocations: 1.561 MB / 480.1 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.3201, allocations: 378.7 kB / 480.5 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006398/0.3208, allocations: 0.7696 MB / 481.2 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.3212, allocations: 466.4 kB / 481.7 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.3212, allocations: 51.66 kB / 481.8 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.3221, allocations: 0.8131 MB / 482.6 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3222, allocations: 163.2 kB / 482.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.3224, allocations: 255.3 kB / 483 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009654/0.3233, allocations: 1.207 MB / 484.2 MB, free: 15.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.3233, allocations: 0 / 484.2 MB, free: 15.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3233, allocations: 0 / 484.2 MB, free: 15.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3233, allocations: 0 / 484.2 MB, free: 15.72 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.0009117/0.3242, allocations: 0.9397 MB / 485.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3243, allocations: 8.969 kB / 485.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005026/0.3248, allocations: 216 kB / 485.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.3251, allocations: 378.7 kB / 485.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3251, allocations: 39.94 kB / 485.8 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.3252, allocations: 41.84 kB / 485.8 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.3256, allocations: 0.7493 MB / 486.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3257, allocations: 2.156 kB / 486.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.3257, allocations: 22.53 kB / 486.6 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3257, allocations: 10.72 kB / 486.6 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.3259, allocations: 219.1 kB / 486.8 MB, free: 14.41 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.001101/0.327, allocations: 1.569 MB / 488.4 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3273, allocations: 165.1 kB / 488.5 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.3274, allocations: 107 kB / 488.6 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.3275, allocations: 96.28 kB / 488.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.3276, allocations: 39.94 kB / 488.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.3276, allocations: 0 / 488.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005835/0.3281, allocations: 349 kB / 489.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.3282, allocations: 134.2 kB / 489.2 MB, free: 13.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3284, allocations: 364 kB / 489.6 MB, free: 12.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3284, allocations: 34.98 kB / 489.6 MB, free: 12.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.3285, allocations: 244.9 kB / 489.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.3285, allocations: 122.1 kB / 490 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.3286, allocations: 90.89 kB / 490.1 MB, free: 12.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.3286, allocations: 361.5 kB / 490.4 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.3287, allocations: 46.33 kB / 490.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3288, allocations: 262.9 kB / 490.7 MB, free: 12.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.329, allocations: 251 kB / 491 MB, free: 11.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.329, allocations: 0 / 491 MB, free: 11.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002844/0.3293, allocations: 265.9 kB / 491.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3293, allocations: 19.31 kB / 491.2 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3293, allocations: 3.219 kB / 491.2 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/0.3299, allocations: 193.2 kB / 491.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.33, allocations: 97.48 kB / 491.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000176/0.3302, allocations: 0.5441 MB / 492.1 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3303, allocations: 38.08 kB / 492.1 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.3304, allocations: 40.42 kB / 492.2 MB, free: 11.35 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.000104/0.3305, allocations: 144.8 kB / 492.3 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.3305, allocations: 39.91 kB / 492.3 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008273/0.3314, allocations: 0.8749 MB / 493.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3314, allocations: 2.844 kB / 493.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3314, allocations: 4.719 kB / 493.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3314, allocations: 0 / 493.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.3319, allocations: 0.5706 MB / 493.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3319, allocations: 2.219 kB / 493.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.332, allocations: 48.7 kB / 493.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.333, allocations: 316.8 kB / 494.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.333, allocations: 6.562 kB / 494.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001612/0.3332, allocations: 0.5634 MB / 494.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3332, allocations: 2.625 kB / 494.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.3334, allocations: 325.8 kB / 495 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.3335, allocations: 53.5 kB / 495.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.3335, allocations: 13.39 kB / 495.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.3336, allocations: 17.47 kB / 495.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.3337, allocations: 23.17 kB / 495.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3337, allocations: 11.8 kB / 495.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.3338, allocations: 173.7 kB / 495.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3338, allocations: 0 / 495.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004278/0.3342, allocations: 284.5 kB / 495.6 MB, free: 9.961 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.0004198/0.3347, allocations: 345.8 kB / 495.9 MB, free: 9.832 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.335, allocations: 198.7 kB / 496.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.335, allocations: 3.5 kB / 496.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.3351, allocations: 94.88 kB / 496.2 MB, free: 9.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.3357, allocations: 296.5 kB / 496.5 MB, free: 9.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008415/0.3365, allocations: 0.8332 MB / 497.3 MB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.3366, allocations: 135.2 kB / 497.5 MB, free: 9.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005008/0.3371, allocations: 479.6 kB / 497.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.3375, allocations: 293 kB / 498.2 MB, free: 9.07 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3375, allocations: 0 / 498.2 MB, free: 9.07 MB / 410.7 MB Notification: Performance of Templates: time 0.01458/0.3521, allocations: 15.81 MB / 0.502 GB, free: 15.74 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.7185033122077584]