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.002054/0.002054, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.002687/0.002687, allocations: 161.7 kB / 23.52 MB, free: 0.9219 MB / 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 1.392/1.392, allocations: 158.6 MB / 185.3 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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.2538/0.2538, allocations: 32.36 MB / 270 MB, free: 14.88 MB / 266.7 MB " [Timeout remaining time 179] 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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.713e-06/1.713e-06, allocations: 0 / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.011e-05, allocations: 2.312 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4465/0.4466, allocations: 164.7 MB / 0.4996 GB, free: 10.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004954/0.4515, allocations: 2.033 MB / 0.5016 GB, free: 8.742 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007169/0.4522, allocations: 20.06 kB / 0.5016 GB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.4533, allocations: 302.9 kB / 0.5019 GB, free: 8.477 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004844/0.4582, allocations: 1.47 MB / 0.5034 GB, free: 7.371 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.4604, allocations: 0.6932 MB / 0.504 GB, free: 6.676 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.463, allocations: 1.492 MB / 0.5055 GB, free: 5.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007597/0.4637, allocations: 367.9 kB / 0.5058 GB, free: 4.812 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.4653, allocations: 0.7791 MB / 0.5066 GB, free: 4.031 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.466, allocations: 394.8 kB / 0.507 GB, free: 3.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4661, allocations: 51.98 kB / 0.507 GB, free: 3.594 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.4685, allocations: 0.8773 MB / 0.5079 GB, free: 2.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.4687, allocations: 159.3 kB / 0.508 GB, free: 2.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003844/0.4691, allocations: 235.5 kB / 0.5083 GB, free: 2.328 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.4718, allocations: 1.429 MB / 0.5097 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4718, allocations: 0 / 0.5097 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4718, allocations: 0 / 0.5097 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4718, allocations: 4 kB / 0.5097 GB, free: 0.8906 MB / 378.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.002576/0.4744, allocations: 0.9674 MB / 0.5106 GB, free: 15.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/0.4744, allocations: 8.031 kB / 0.5106 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.4756, allocations: 226.9 kB / 0.5108 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.4765, allocations: 414.3 kB / 0.5112 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.4766, allocations: 29 kB / 0.5113 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.4767, allocations: 55.56 kB / 0.5113 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.4781, allocations: 0.8533 MB / 0.5121 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4781, allocations: 0 / 0.5121 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.4782, allocations: 20 kB / 0.5122 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.4782, allocations: 8 kB / 0.5122 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.4792, allocations: 407.6 kB / 0.5126 GB, free: 13.75 MB / 394.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.003184/0.4823, allocations: 1.833 MB / 0.5143 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/0.483, allocations: 266.6 kB / 0.5146 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.4833, allocations: 133 kB / 0.5147 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.4844, allocations: 418.1 kB / 0.5151 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.4845, allocations: 42.56 kB / 0.5152 GB, free: 10.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.835e-06/0.4845, allocations: 0 / 0.5152 GB, free: 10.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.002688/0.4871, allocations: 0.6429 MB / 0.5158 GB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.4873, allocations: 132.5 kB / 0.5159 GB, free: 10.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.4878, allocations: 385.5 kB / 0.5163 GB, free: 9.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.4879, allocations: 33.7 kB / 0.5163 GB, free: 9.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.4881, allocations: 276.3 kB / 0.5166 GB, free: 9.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.4883, allocations: 103.1 kB / 0.5167 GB, free: 9.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.4885, allocations: 109.6 kB / 0.5168 GB, free: 9.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004846/0.4889, allocations: 354.8 kB / 0.5171 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.4894, allocations: 139.9 kB / 0.5173 GB, free: 8.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.49, allocations: 348.4 kB / 0.5176 GB, free: 8.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009699/0.4909, allocations: 425.5 kB / 0.518 GB, free: 7.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4909, allocations: 0 / 0.518 GB, free: 7.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001432/0.4924, allocations: 0.529 MB / 0.5185 GB, free: 7.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.4924, allocations: 8 kB / 0.5185 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4924, allocations: 4 kB / 0.5185 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/0.4947, allocations: 268.9 kB / 0.5188 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.4951, allocations: 103.8 kB / 0.5189 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.4962, allocations: 0.603 MB / 0.5195 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.4966, allocations: 39.7 kB / 0.5195 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.4967, allocations: 52.03 kB / 0.5196 GB, free: 6.266 MB / 394.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.0003301/0.497, allocations: 177.7 kB / 0.5197 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.4972, allocations: 59.66 kB / 0.5198 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.499, allocations: 0.6636 MB / 0.5204 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.499, allocations: 7.938 kB / 0.5204 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.499, allocations: 0 / 0.5204 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.499, allocations: 0 / 0.5204 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.5009, allocations: 0.8228 MB / 0.5212 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5009, allocations: 8 kB / 0.5212 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.5012, allocations: 56.05 kB / 0.5213 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/0.5031, allocations: 256.5 kB / 0.5215 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.5032, allocations: 15.92 kB / 0.5216 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.5043, allocations: 0.603 MB / 0.5222 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.5043, allocations: 8.016 kB / 0.5222 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.5057, allocations: 0.4923 MB / 0.5226 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.5058, allocations: 47.58 kB / 0.5227 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.5059, allocations: 15.94 kB / 0.5227 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.5063, allocations: 15.98 kB / 0.5227 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.5064, allocations: 23.95 kB / 0.5227 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.5064, allocations: 20.03 kB / 0.5228 GB, free: 2.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004708/0.5069, allocations: 303.1 kB / 0.523 GB, free: 2.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5069, allocations: 0 / 0.523 GB, free: 2.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001076/0.508, allocations: 279.3 kB / 0.5233 GB, free: 2.266 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * 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.001067/0.5091, allocations: 389 kB / 0.5237 GB, free: 1.887 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.5109, allocations: 364.8 kB / 0.524 GB, free: 1.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.5109, allocations: 0 / 0.524 GB, free: 1.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008121/0.5117, allocations: 158 kB / 0.5242 GB, free: 1.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.5131, allocations: 293.6 kB / 0.5245 GB, free: 1.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.5155, allocations: 0.869 MB / 0.5253 GB, free: 188 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.5158, allocations: 250 kB / 0.5255 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006755/0.5165, allocations: 183.8 kB / 0.5257 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.5167, allocations: 68.47 kB / 0.5258 GB, free: 15.68 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5168, allocations: 0 / 0.5258 GB, free: 15.68 MB / 410.7 MB Notification: Performance of Templates: time 0.02796/0.5447, allocations: 13.7 MB / 0.5392 GB, free: 2.074 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.905789728043601]