Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001355/0.001355, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001485/0.001485, allocations: 169.8 kB / 25.61 MB, free: 8.902 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.9257/0.9257, allocations: 177.1 MB / 206 MB, free: 4.5 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.1377/0.1377, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.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.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.521e-05, allocations: 3.734 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2728/0.2728, allocations: 145.8 MB / 0.5128 GB, free: 16.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.2748, allocations: 2.006 MB / 0.5148 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.275, allocations: 25.5 kB / 0.5148 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.2754, allocations: 161.3 kB / 0.5149 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.2767, allocations: 1.01 MB / 0.5159 GB, free: 16.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.2773, allocations: 0.5386 MB / 0.5165 GB, free: 16.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.2782, allocations: 1.489 MB / 0.5179 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.2785, allocations: 361.7 kB / 0.5183 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.2791, allocations: 0.7403 MB / 0.519 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.2794, allocations: 399 kB / 0.5194 GB, free: 16.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.2794, allocations: 48.56 kB / 0.5194 GB, free: 16.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.28, allocations: 0.598 MB / 0.52 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.2801, allocations: 165.4 kB / 0.5201 GB, free: 16.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2803, allocations: 230.5 kB / 0.5204 GB, free: 16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007381/0.281, allocations: 0.9814 MB / 0.5213 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.281, allocations: 3.938 kB / 0.5213 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.281, allocations: 0 / 0.5213 GB, free: 15.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.281, allocations: 0 / 0.5213 GB, free: 15.89 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0008929/0.2819, allocations: 1.013 MB / 0.5223 GB, free: 15.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.2819, allocations: 9.469 kB / 0.5223 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/0.2824, allocations: 221.3 kB / 0.5225 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.2828, allocations: 405.9 kB / 0.5229 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2828, allocations: 36.12 kB / 0.523 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.2829, allocations: 46.47 kB / 0.523 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.2833, allocations: 0.7513 MB / 0.5237 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2833, allocations: 5.312 kB / 0.5237 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.2833, allocations: 17.12 kB / 0.5238 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.2833, allocations: 13.23 kB / 0.5238 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.2836, allocations: 197.8 kB / 0.524 GB, free: 14.43 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.001126/0.2847, allocations: 2.148 MB / 0.5261 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.2849, allocations: 167.1 kB / 0.5262 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.285, allocations: 70.59 kB / 0.5263 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.579e-05/0.2851, allocations: 47.47 kB / 0.5263 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.2851, allocations: 40.27 kB / 0.5264 GB, free: 12.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.2851, allocations: 3.469 kB / 0.5264 GB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009605/0.2861, allocations: 437.2 kB / 0.5268 GB, free: 12.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.2861, allocations: 137.1 kB / 0.5269 GB, free: 12.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.2863, allocations: 402.1 kB / 0.5273 GB, free: 12.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2863, allocations: 32.45 kB / 0.5273 GB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.2864, allocations: 334 kB / 0.5277 GB, free: 12.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.2864, allocations: 109.5 kB / 0.5278 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.2865, allocations: 113.7 kB / 0.5279 GB, free: 12.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.2866, allocations: 0.5301 MB / 0.5284 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2868, allocations: 59.03 kB / 0.5284 GB, free: 11.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.2869, allocations: 314.3 kB / 0.5287 GB, free: 11.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.2872, allocations: 290.7 kB / 0.529 GB, free: 11.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2872, allocations: 5 kB / 0.529 GB, free: 11.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004234/0.2876, allocations: 369.3 kB / 0.5294 GB, free: 11.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.2876, allocations: 8.938 kB / 0.5294 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2876, allocations: 3.5 kB / 0.5294 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007949/0.2884, allocations: 223.1 kB / 0.5296 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.2886, allocations: 98.45 kB / 0.5297 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003357/0.2889, allocations: 0.8353 MB / 0.5305 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.2891, allocations: 31.53 kB / 0.5305 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.2891, allocations: 53.38 kB / 0.5306 GB, free: 10.17 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.2892, allocations: 179.5 kB / 0.5308 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.2893, allocations: 61.16 kB / 0.5308 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008304/0.2902, allocations: 0.8963 MB / 0.5317 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2902, allocations: 2.781 kB / 0.5317 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.2902, allocations: 2.344 kB / 0.5317 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2902, allocations: 5.578 kB / 0.5317 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.2908, allocations: 0.7262 MB / 0.5324 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2908, allocations: 3.031 kB / 0.5324 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.2909, allocations: 45.52 kB / 0.5325 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006472/0.2916, allocations: 198.5 kB / 0.5327 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2916, allocations: 10.73 kB / 0.5327 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003156/0.2919, allocations: 0.8422 MB / 0.5335 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2919, allocations: 5.656 kB / 0.5335 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.2922, allocations: 435.9 kB / 0.5339 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.2923, allocations: 50.16 kB / 0.534 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.2923, allocations: 9.125 kB / 0.534 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2925, allocations: 11.48 kB / 0.534 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.2925, allocations: 34.41 kB / 0.534 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.2925, allocations: 16.8 kB / 0.534 GB, free: 8.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.2927, allocations: 283.2 kB / 0.5343 GB, free: 8.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2927, allocations: 0 / 0.5343 GB, free: 8.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.2931, allocations: 227.3 kB / 0.5345 GB, free: 8.109 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 (24): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0003363/0.2934, allocations: 278.5 kB / 0.5348 GB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.2939, allocations: 220.9 kB / 0.535 GB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2939, allocations: 2.594 kB / 0.535 GB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.2941, allocations: 105.5 kB / 0.5351 GB, free: 7.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.2948, allocations: 290.5 kB / 0.5354 GB, free: 7.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.2958, allocations: 0.8439 MB / 0.5362 GB, free: 7.438 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.776e-05/0.2959, allocations: 122.9 kB / 0.5363 GB, free: 7.363 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004878/0.2964, allocations: 465.3 kB / 0.5367 GB, free: 7.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.2968, allocations: 350.4 kB / 0.5371 GB, free: 7.215 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2968, allocations: 0 / 0.5371 GB, free: 7.215 MB / 410.7 MB Notification: Performance of Templates: time 0.0128/0.3096, allocations: 14.22 MB / 0.551 GB, free: 0.4922 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.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.805783829651773]