Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9512/0.9512, allocations: 177 MB / 205.9 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1443/0.1443, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.407e-05, allocations: 3.062 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4039/0.404, allocations: 145.8 MB / 0.5135 GB, free: 16.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.4075, allocations: 2.011 MB / 0.5155 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006181/0.4081, allocations: 24.91 kB / 0.5155 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.4086, allocations: 157.9 kB / 0.5157 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.4112, allocations: 1.012 MB / 0.5166 GB, free: 16.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.4124, allocations: 0.5459 MB / 0.5172 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.4143, allocations: 1.48 MB / 0.5186 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006789/0.415, allocations: 357.4 kB / 0.519 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.4162, allocations: 0.7375 MB / 0.5197 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006207/0.4168, allocations: 411.3 kB / 0.5201 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.417, allocations: 45.97 kB / 0.5201 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.4186, allocations: 0.5997 MB / 0.5207 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.4188, allocations: 161.1 kB / 0.5209 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.4191, allocations: 233.8 kB / 0.5211 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.4208, allocations: 0.9797 MB / 0.522 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4208, allocations: 0 / 0.522 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4208, allocations: 0 / 0.522 GB, free: 15.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.4208, allocations: 0 / 0.522 GB, free: 15.73 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.001708/0.4225, allocations: 1.024 MB / 0.523 GB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4225, allocations: 9.438 kB / 0.523 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/0.4232, allocations: 211.3 kB / 0.5232 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.4238, allocations: 415.5 kB / 0.5236 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.4238, allocations: 32 kB / 0.5237 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.4239, allocations: 48.84 kB / 0.5237 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.4245, allocations: 0.7429 MB / 0.5244 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.4245, allocations: 6.281 kB / 0.5245 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.4245, allocations: 21.06 kB / 0.5245 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4245, allocations: 9.438 kB / 0.5245 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.4249, allocations: 199.5 kB / 0.5247 GB, free: 14.27 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.001621/0.4265, allocations: 2.145 MB / 0.5268 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.4268, allocations: 164.4 kB / 0.5269 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.4269, allocations: 68.3 kB / 0.527 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.427, allocations: 52 kB / 0.527 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.427, allocations: 40.14 kB / 0.5271 GB, free: 12.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.427, allocations: 0 / 0.5271 GB, free: 12.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001236/0.4283, allocations: 436.7 kB / 0.5275 GB, free: 12.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.4283, allocations: 133.3 kB / 0.5276 GB, free: 12.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.4285, allocations: 411.8 kB / 0.528 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.4286, allocations: 31.89 kB / 0.528 GB, free: 12.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.4287, allocations: 331.8 kB / 0.5284 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.4288, allocations: 111.7 kB / 0.5285 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4289, allocations: 115.8 kB / 0.5286 GB, free: 11.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.429, allocations: 0.5298 MB / 0.5291 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4291, allocations: 54.12 kB / 0.5291 GB, free: 11.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.4293, allocations: 313.8 kB / 0.5294 GB, free: 11.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.4296, allocations: 301.9 kB / 0.5297 GB, free: 10.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4296, allocations: 0 / 0.5297 GB, free: 10.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005197/0.4301, allocations: 372.1 kB / 0.5301 GB, free: 10.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4301, allocations: 8.094 kB / 0.5301 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4302, allocations: 4.562 kB / 0.5301 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008695/0.431, allocations: 217.5 kB / 0.5303 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.4312, allocations: 100 kB / 0.5304 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004406/0.4317, allocations: 0.8389 MB / 0.5312 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.4319, allocations: 35.45 kB / 0.5313 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.432, allocations: 44.16 kB / 0.5313 GB, free: 10.01 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.0001768/0.4321, allocations: 181.4 kB / 0.5315 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.4322, allocations: 58.06 kB / 0.5315 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4333, allocations: 0.9032 MB / 0.5324 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4333, allocations: 2.906 kB / 0.5324 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.4333, allocations: 2.688 kB / 0.5324 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4333, allocations: 1.922 kB / 0.5324 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008691/0.4341, allocations: 0.7234 MB / 0.5331 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.4341, allocations: 7.125 kB / 0.5331 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.4343, allocations: 48.06 kB / 0.5332 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007142/0.435, allocations: 196.3 kB / 0.5334 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.435, allocations: 12.61 kB / 0.5334 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003857/0.4354, allocations: 0.836 MB / 0.5342 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4354, allocations: 1.641 kB / 0.5342 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.4358, allocations: 446.4 kB / 0.5346 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.4359, allocations: 51.11 kB / 0.5347 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.4359, allocations: 8.438 kB / 0.5347 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4361, allocations: 14.53 kB / 0.5347 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.4361, allocations: 23.64 kB / 0.5347 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.4362, allocations: 21.11 kB / 0.5347 GB, free: 8.117 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.4363, allocations: 280 kB / 0.535 GB, free: 7.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4363, allocations: 3.938 kB / 0.535 GB, free: 7.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006907/0.437, allocations: 228.6 kB / 0.5352 GB, free: 7.949 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.0004664/0.4375, allocations: 275.7 kB / 0.5355 GB, free: 7.832 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.4381, allocations: 222 kB / 0.5357 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4381, allocations: 0 / 0.5357 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.4384, allocations: 101.1 kB / 0.5358 GB, free: 7.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.4392, allocations: 295.5 kB / 0.5361 GB, free: 7.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.4407, allocations: 0.8411 MB / 0.5369 GB, free: 7.289 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.924e-05/0.4408, allocations: 126.4 kB / 0.537 GB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006739/0.4414, allocations: 468.7 kB / 0.5375 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.442, allocations: 340.2 kB / 0.5378 GB, free: 7.074 MB / 410.7 MB Notification: Performance of SimCode: time 1.724e-06/0.442, allocations: 4 kB / 0.5378 GB, free: 7.07 MB / 410.7 MB Notification: Performance of Templates: time 0.01785/0.4598, allocations: 14.22 MB / 0.5517 GB, free: 216 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.3482245351187885]