Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008877/0.0008877, 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.0009768/0.0009768, 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.8472/0.8472, allocations: 158.6 MB / 186 MB, free: 2.742 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.1261/0.1261, 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.011e-06/1.011e-06, allocations: 0 / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.535e-05, allocations: 6.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2853/0.2853, allocations: 146.2 MB / 445.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.2879, allocations: 2.066 MB / 447.4 MB, free: 9.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.2882, allocations: 19.81 kB / 447.4 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.2886, allocations: 162.7 kB / 447.6 MB, free: 9.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.2906, allocations: 1.076 MB / 448.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.2915, allocations: 0.5378 MB / 449.2 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.2927, allocations: 1.468 MB / 450.6 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.2931, allocations: 360.8 kB / 451 MB, free: 5.883 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006626/0.2938, allocations: 0.7326 MB / 451.7 MB, free: 5.148 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.2941, allocations: 394.8 kB / 452.1 MB, free: 4.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.2942, allocations: 52 kB / 452.2 MB, free: 4.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.295, allocations: 0.6213 MB / 452.8 MB, free: 4.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.2951, allocations: 159.3 kB / 452.9 MB, free: 3.934 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.2953, allocations: 231.5 kB / 453.2 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.2965, allocations: 0.9892 MB / 454.1 MB, free: 2.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2965, allocations: 0 / 454.1 MB, free: 2.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2965, allocations: 0 / 454.1 MB, free: 2.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2965, allocations: 0 / 454.1 MB, free: 2.715 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.001184/0.2977, allocations: 0.9036 MB / 455.1 MB, free: 1.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2978, allocations: 8.031 kB / 455.1 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005711/0.2983, allocations: 204.3 kB / 455.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.2989, allocations: 376.4 kB / 455.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2989, allocations: 29.38 kB / 455.7 MB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.299, allocations: 44.38 kB / 455.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.2995, allocations: 0.7194 MB / 456.4 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2995, allocations: 0 / 456.4 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.2995, allocations: 23.94 kB / 456.4 MB, free: 260 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.2996, allocations: 8 kB / 456.4 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.2998, allocations: 191.2 kB / 456.6 MB, free: 56 kB / 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.1912/0.491, allocations: 1.519 MB / 458.2 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.4912, allocations: 138.1 kB / 458.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.4913, allocations: 51.7 kB / 458.3 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/0.4918, allocations: 282.5 kB / 458.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4918, allocations: 38.08 kB / 458.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.645e-06/0.4918, allocations: 0.8438 kB / 458.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001075/0.4929, allocations: 349.8 kB / 459 MB, free: 13.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.4929, allocations: 133.3 kB / 459.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.4932, allocations: 341.8 kB / 459.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.4932, allocations: 33.08 kB / 459.5 MB, free: 13.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4933, allocations: 240.8 kB / 459.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.4934, allocations: 112.2 kB / 459.8 MB, free: 13.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.4935, allocations: 94.59 kB / 459.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.4936, allocations: 359.7 kB / 460.3 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.4937, allocations: 47.27 kB / 460.3 MB, free: 12.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.4939, allocations: 253.5 kB / 460.6 MB, free: 12.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.4942, allocations: 244.8 kB / 460.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4942, allocations: 0.9688 kB / 460.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004197/0.4946, allocations: 265.5 kB / 461.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4946, allocations: 6.938 kB / 461.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4946, allocations: 4.688 kB / 461.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008572/0.4955, allocations: 201.1 kB / 461.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.4957, allocations: 91.3 kB / 461.4 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003305/0.496, allocations: 0.5514 MB / 461.9 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.4962, allocations: 37.7 kB / 462 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.4963, allocations: 39.62 kB / 462 MB, free: 11.82 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.000125/0.4964, allocations: 134.9 kB / 462.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.4965, allocations: 41.31 kB / 462.2 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006692/0.4972, allocations: 466.2 kB / 462.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4972, allocations: 4.266 kB / 462.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4972, allocations: 1 kB / 462.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4972, allocations: 2.031 kB / 462.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.4979, allocations: 0.5498 MB / 463.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4979, allocations: 5.219 kB / 463.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.498, allocations: 42.31 kB / 463.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006197/0.4986, allocations: 199.2 kB / 463.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.4987, allocations: 13.64 kB / 463.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002722/0.4989, allocations: 0.5513 MB / 464 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4989, allocations: 1.562 kB / 464 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.4992, allocations: 313.3 kB / 464.3 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.4993, allocations: 38.66 kB / 464.3 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.4993, allocations: 13.02 kB / 464.3 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4995, allocations: 16.23 kB / 464.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.4995, allocations: 32.08 kB / 464.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4995, allocations: 13.81 kB / 464.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.4997, allocations: 159.8 kB / 464.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4997, allocations: 0.5625 kB / 464.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005775/0.5003, allocations: 225.1 kB / 464.8 MB, free: 10.57 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.0005352/0.5008, allocations: 294.4 kB / 465.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.5013, allocations: 189.9 kB / 465.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.5013, allocations: 6.844 kB / 465.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.5015, allocations: 99.23 kB / 465.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.5022, allocations: 281.9 kB / 465.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.5035, allocations: 0.8419 MB / 466.5 MB, free: 9.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.554e-05/0.5036, allocations: 117.2 kB / 466.6 MB, free: 9.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.504, allocations: 162 kB / 466.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/0.5047, allocations: 271.8 kB / 467 MB, free: 9.84 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5047, allocations: 0.8438 kB / 467 MB, free: 9.84 MB / 410.7 MB Notification: Performance of Templates: time 0.01635/0.521, allocations: 14.1 MB / 481.1 MB, free: 8.391 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6102845747955143]