Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001576/0.001576, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002144/0.002144, allocations: 164.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.374/1.374, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1944/0.1944, allocations: 32.81 MB / 293.5 MB, free: 64 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.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.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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.081e-05, allocations: 6.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3509/0.3509, allocations: 161.4 MB / 0.5874 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.3548, allocations: 2.043 MB / 0.5894 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.3551, allocations: 23.75 kB / 0.5894 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008158/0.356, allocations: 293.9 kB / 0.5897 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.3587, allocations: 1.231 MB / 0.5909 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.3603, allocations: 0.7041 MB / 0.5916 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.362, allocations: 1.499 MB / 0.5931 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005318/0.3626, allocations: 347.9 kB / 0.5934 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.3636, allocations: 0.7791 MB / 0.5942 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/0.3642, allocations: 394.8 kB / 0.5945 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-05/0.3643, allocations: 52 kB / 0.5946 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3656, allocations: 0.6853 MB / 0.5953 GB, free: 496 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.3658, allocations: 163.4 kB / 0.5954 GB, free: 332 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.3661, allocations: 239.5 kB / 0.5957 GB, free: 92 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.3679, allocations: 1.285 MB / 0.5969 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3679, allocations: 3.938 kB / 0.5969 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3679, allocations: 0 / 0.5969 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.3679, allocations: 0 / 0.5969 GB, free: 14.8 MB / 0.4981 GB 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.00181/0.3697, allocations: 0.9325 MB / 0.5978 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3698, allocations: 8.031 kB / 0.5978 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.3708, allocations: 139.2 kB / 0.598 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.3715, allocations: 394.2 kB / 0.5983 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.3715, allocations: 29 kB / 0.5984 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.3716, allocations: 40 kB / 0.5984 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.3728, allocations: 0.8528 MB / 0.5992 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3729, allocations: 7.938 kB / 0.5992 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.3729, allocations: 23.94 kB / 0.5993 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.3729, allocations: 15.94 kB / 0.5993 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/0.3738, allocations: 403.6 kB / 0.5997 GB, free: 11.8 MB / 0.4981 GB 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.002602/0.3764, allocations: 1.795 MB / 0.6014 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.3771, allocations: 270.2 kB / 0.6017 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.3774, allocations: 140.9 kB / 0.6018 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.3776, allocations: 47.97 kB / 0.6019 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.3776, allocations: 38.56 kB / 0.6019 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.764e-06/0.3776, allocations: 0 / 0.6019 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002504/0.3801, allocations: 0.6267 MB / 0.6025 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.3802, allocations: 136.5 kB / 0.6026 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.3807, allocations: 377.6 kB / 0.603 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.3807, allocations: 33.7 kB / 0.603 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.3809, allocations: 284.3 kB / 0.6033 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.381, allocations: 103.1 kB / 0.6034 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.3812, allocations: 109.6 kB / 0.6035 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3814, allocations: 354.7 kB / 0.6038 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.3818, allocations: 139.9 kB / 0.604 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.3824, allocations: 364.3 kB / 0.6043 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.3833, allocations: 417.5 kB / 0.6047 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3833, allocations: 0 / 0.6047 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0013/0.3846, allocations: 0.5252 MB / 0.6052 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3846, allocations: 4 kB / 0.6052 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3846, allocations: 4 kB / 0.6052 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/0.3867, allocations: 268.8 kB / 0.6055 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.3871, allocations: 103.9 kB / 0.6056 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009691/0.3881, allocations: 0.603 MB / 0.6062 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.3884, allocations: 43.72 kB / 0.6062 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.3885, allocations: 43.98 kB / 0.6063 GB, free: 4.727 MB / 0.4981 GB 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.0002648/0.3888, allocations: 182.3 kB / 0.6064 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3889, allocations: 47.7 kB / 0.6065 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.391, allocations: 1.034 MB / 0.6075 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.391, allocations: 4 kB / 0.6075 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.391, allocations: 0 / 0.6075 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.391, allocations: 0 / 0.6075 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.3926, allocations: 0.8228 MB / 0.6083 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3926, allocations: 4 kB / 0.6083 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.3929, allocations: 55.89 kB / 0.6084 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.3947, allocations: 252.6 kB / 0.6086 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.3947, allocations: 15.98 kB / 0.6086 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009371/0.3957, allocations: 0.6069 MB / 0.6092 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3957, allocations: 0 / 0.6092 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.397, allocations: 0.4893 MB / 0.6097 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.3971, allocations: 51.58 kB / 0.6097 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.3972, allocations: 15.89 kB / 0.6098 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.3975, allocations: 20.05 kB / 0.6098 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.3976, allocations: 23.95 kB / 0.6098 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.3977, allocations: 15.98 kB / 0.6098 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000381/0.398, allocations: 307.1 kB / 0.6101 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.398, allocations: 0 / 0.6101 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007552/0.3988, allocations: 227.5 kB / 0.6103 GB, free: 444 kB / 0.4981 GB 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.0007085/0.3995, allocations: 310.7 kB / 0.6106 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.4009, allocations: 359.6 kB / 0.611 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4009, allocations: 0 / 0.611 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007494/0.4017, allocations: 152.9 kB / 0.6111 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.403, allocations: 281.1 kB / 0.6114 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.4051, allocations: 0.8673 MB / 0.6122 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.4054, allocations: 246 kB / 0.6125 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000975/0.4064, allocations: 0.5279 MB / 0.613 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.4066, allocations: 92.42 kB / 0.6131 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.4066, allocations: 0 / 0.6131 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.02229/0.4289, allocations: 12.83 MB / 0.6256 GB, free: 0.9688 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.248322021216154]