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.001296/0.001296, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001257/0.001257, allocations: 170.2 kB / 24.91 MB, free: 9.207 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.9477/0.9477, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2887/0.2887, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.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.413e-06/1.413e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.26e-05, allocations: 2.312 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3004/0.3005, allocations: 147.9 MB / 473.2 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.3027, allocations: 2.069 MB / 475.3 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.3029, allocations: 23.53 kB / 475.3 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.3032, allocations: 161 kB / 475.4 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.3049, allocations: 1.015 MB / 476.5 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.3056, allocations: 0.535 MB / 477 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3066, allocations: 1.488 MB / 478.5 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.307, allocations: 367.9 kB / 478.8 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/0.3076, allocations: 0.7396 MB / 479.6 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.3079, allocations: 382.9 kB / 479.9 MB, free: 16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.3079, allocations: 46.25 kB / 480 MB, free: 16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000634/0.3086, allocations: 0.5983 MB / 480.6 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3087, allocations: 169.6 kB / 480.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.3088, allocations: 235.9 kB / 481 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007475/0.3096, allocations: 0.9733 MB / 482 MB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3096, allocations: 0 / 482 MB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3096, allocations: 0 / 482 MB, free: 15.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3096, allocations: 0 / 482 MB, free: 15.81 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.0008606/0.3104, allocations: 0.8745 MB / 482.8 MB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.3105, allocations: 8.031 kB / 482.8 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.311, allocations: 218.2 kB / 483.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.3113, allocations: 367.1 kB / 483.4 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3113, allocations: 25.84 kB / 483.4 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.3114, allocations: 49.16 kB / 483.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.3118, allocations: 0.7218 MB / 484.2 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3118, allocations: 2.375 kB / 484.2 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.3118, allocations: 20.34 kB / 484.2 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3119, allocations: 8.156 kB / 484.2 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.3121, allocations: 187.1 kB / 484.4 MB, free: 14.55 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.001003/0.3131, allocations: 1.521 MB / 485.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3133, allocations: 131.3 kB / 486.1 MB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.3133, allocations: 57.33 kB / 486.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.3135, allocations: 95.28 kB / 486.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.3135, allocations: 35.59 kB / 486.3 MB, free: 13.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.3135, allocations: 3.938 kB / 486.3 MB, free: 13.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008325/0.3143, allocations: 362.3 kB / 486.6 MB, free: 13.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.3144, allocations: 135 kB / 486.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3145, allocations: 346.6 kB / 487.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3145, allocations: 31.64 kB / 487.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.3146, allocations: 238.6 kB / 487.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.3147, allocations: 113.3 kB / 487.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.3147, allocations: 95.53 kB / 487.6 MB, free: 12.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.3148, allocations: 357.2 kB / 487.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-05/0.3149, allocations: 46.28 kB / 487.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.315, allocations: 251.8 kB / 488.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3152, allocations: 239.3 kB / 488.4 MB, free: 12.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3152, allocations: 2.844 kB / 488.4 MB, free: 12.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002868/0.3154, allocations: 267.4 kB / 488.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3155, allocations: 7.703 kB / 488.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3155, allocations: 5.938 kB / 488.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006924/0.3162, allocations: 208.2 kB / 488.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.3163, allocations: 95.55 kB / 489 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002753/0.3166, allocations: 0.546 MB / 489.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3167, allocations: 32.83 kB / 489.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.3168, allocations: 40.17 kB / 489.6 MB, free: 11.55 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 9.872e-05/0.3169, allocations: 146.9 kB / 489.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.3169, allocations: 36.88 kB / 489.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007333/0.3177, allocations: 0.8176 MB / 490.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3177, allocations: 2.344 kB / 490.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3177, allocations: 2.844 kB / 490.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3177, allocations: 4 kB / 490.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.3182, allocations: 0.5439 MB / 491.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3182, allocations: 3 kB / 491.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3183, allocations: 48.25 kB / 491.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/0.3189, allocations: 192.4 kB / 491.4 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3189, allocations: 13.56 kB / 491.4 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002641/0.3191, allocations: 0.5462 MB / 492 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3191, allocations: 10.14 kB / 492 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3194, allocations: 314.5 kB / 492.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.3194, allocations: 45.17 kB / 492.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.3194, allocations: 22.08 kB / 492.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3196, allocations: 14.36 kB / 492.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.3196, allocations: 28.64 kB / 492.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3196, allocations: 14.12 kB / 492.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.3198, allocations: 159.2 kB / 492.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3198, allocations: 0 / 492.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.3201, allocations: 222.5 kB / 492.8 MB, free: 10.2 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.0003258/0.3205, allocations: 252.5 kB / 493 MB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.3209, allocations: 199.9 kB / 493.2 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.3209, allocations: 6 kB / 493.2 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.3211, allocations: 93.64 kB / 493.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.3217, allocations: 286.9 kB / 493.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3227, allocations: 0.8318 MB / 494.4 MB, free: 9.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.676e-05/0.3228, allocations: 119.9 kB / 494.5 MB, free: 9.508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000473/0.3232, allocations: 471.9 kB / 495 MB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.3237, allocations: 285.8 kB / 495.3 MB, free: 9.379 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.3237, allocations: 0 / 495.3 MB, free: 9.379 MB / 410.7 MB Notification: Performance of Templates: time 0.01253/0.3362, allocations: 13.96 MB / 0.4973 GB, free: 2.852 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.7178667108528316]