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.002443/0.002443, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002802/0.002802, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 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 1.62/1.62, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3397/0.3397, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.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.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_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.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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.737e-05/3.895e-05, allocations: 4.844 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4145/0.4145, allocations: 179.6 MB / 0.5438 GB, free: 10.74 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.4192, allocations: 2.133 MB / 0.5458 GB, free: 9.309 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.4198, allocations: 23.78 kB / 0.5459 GB, free: 9.293 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.421, allocations: 292 kB / 0.5461 GB, free: 9.125 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.4245, allocations: 1.238 MB / 0.5474 GB, free: 8.445 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.4265, allocations: 0.6933 MB / 0.548 GB, free: 8.082 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.4286, allocations: 1.503 MB / 0.5495 GB, free: 7.258 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006613/0.4293, allocations: 369.1 kB / 0.5498 GB, free: 7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.4306, allocations: 0.7838 MB / 0.5506 GB, free: 6.523 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006173/0.4312, allocations: 398.5 kB / 0.551 GB, free: 6.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.636e-05/0.4313, allocations: 48.34 kB / 0.551 GB, free: 6.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.433, allocations: 0.6795 MB / 0.5517 GB, free: 6.008 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.4332, allocations: 164.3 kB / 0.5519 GB, free: 5.883 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.4336, allocations: 242.5 kB / 0.5521 GB, free: 5.773 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.4357, allocations: 1.295 MB / 0.5534 GB, free: 4.949 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4357, allocations: 0 / 0.5534 GB, free: 4.949 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4357, allocations: 2.969 kB / 0.5534 GB, free: 4.949 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.4357, allocations: 0 / 0.5534 GB, free: 4.949 MB / 426.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.002088/0.4378, allocations: 1.065 MB / 0.5544 GB, free: 4.113 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4379, allocations: 9.344 kB / 0.5544 GB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.4389, allocations: 216.6 kB / 0.5546 GB, free: 4.004 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.4397, allocations: 415.6 kB / 0.555 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.4398, allocations: 33.88 kB / 0.555 GB, free: 3.664 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.4398, allocations: 47.69 kB / 0.5551 GB, free: 3.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.4413, allocations: 0.8965 MB / 0.556 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4413, allocations: 4 kB / 0.556 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/0.4414, allocations: 20 kB / 0.556 GB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.4414, allocations: 15.94 kB / 0.556 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.4422, allocations: 371.7 kB / 0.5564 GB, free: 2.246 MB / 426.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.003599/0.4458, allocations: 2.373 MB / 0.5587 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.4466, allocations: 275.3 kB / 0.5589 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.4468, allocations: 131.6 kB / 0.5591 GB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.4471, allocations: 43.97 kB / 0.5591 GB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.4471, allocations: 45.39 kB / 0.5591 GB, free: 15.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.4471, allocations: 0 / 0.5591 GB, free: 15.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.002441/0.4496, allocations: 0.6126 MB / 0.5597 GB, free: 14.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4497, allocations: 132.5 kB / 0.5599 GB, free: 14.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.4503, allocations: 490.6 kB / 0.5603 GB, free: 14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.4504, allocations: 37.7 kB / 0.5604 GB, free: 13.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.4507, allocations: 347.1 kB / 0.5607 GB, free: 13.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.4508, allocations: 115 kB / 0.5608 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.451, allocations: 115.3 kB / 0.5609 GB, free: 13.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003426/0.4514, allocations: 0.5469 MB / 0.5615 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.4517, allocations: 131.9 kB / 0.5616 GB, free: 12.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.4523, allocations: 388 kB / 0.562 GB, free: 12.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.4532, allocations: 447 kB / 0.5624 GB, free: 11.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4532, allocations: 0 / 0.5624 GB, free: 11.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001275/0.4545, allocations: 0.5249 MB / 0.5629 GB, free: 11.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4545, allocations: 4 kB / 0.5629 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4545, allocations: 10.73 kB / 0.5629 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.4564, allocations: 235.8 kB / 0.5631 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.4568, allocations: 103.8 kB / 0.5632 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.458, allocations: 0.878 MB / 0.5641 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.4584, allocations: 31.78 kB / 0.5641 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4585, allocations: 51.97 kB / 0.5642 GB, free: 9.84 MB / 442.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.0003447/0.4588, allocations: 220.5 kB / 0.5644 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.459, allocations: 55.72 kB / 0.5644 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.4613, allocations: 1.058 MB / 0.5655 GB, free: 8.477 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.4613, allocations: 4 kB / 0.5655 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4613, allocations: 0 / 0.5655 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4613, allocations: 7.969 kB / 0.5655 GB, free: 8.465 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.4632, allocations: 0.9441 MB / 0.5664 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4632, allocations: 0 / 0.5664 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.4634, allocations: 51.91 kB / 0.5665 GB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.4651, allocations: 215.5 kB / 0.5667 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.4651, allocations: 19.3 kB / 0.5667 GB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.4662, allocations: 0.8779 MB / 0.5675 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4662, allocations: 0 / 0.5675 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.4675, allocations: 0.552 MB / 0.5681 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4676, allocations: 47.58 kB / 0.5681 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.4677, allocations: 12 kB / 0.5681 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.468, allocations: 11.98 kB / 0.5681 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.4681, allocations: 31.89 kB / 0.5682 GB, free: 5.566 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.4682, allocations: 15.98 kB / 0.5682 GB, free: 5.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004749/0.4687, allocations: 367.1 kB / 0.5685 GB, free: 5.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4687, allocations: 0 / 0.5685 GB, free: 5.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009432/0.4696, allocations: 231.4 kB / 0.5688 GB, free: 4.969 MB / 442.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.000721/0.4703, allocations: 294.7 kB / 0.569 GB, free: 4.672 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.4717, allocations: 368.4 kB / 0.5694 GB, free: 4.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4717, allocations: 4.188 kB / 0.5694 GB, free: 4.309 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000652/0.4723, allocations: 153.2 kB / 0.5695 GB, free: 4.156 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.4738, allocations: 283 kB / 0.5698 GB, free: 3.895 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.476, allocations: 0.8851 MB / 0.5707 GB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.4763, allocations: 246 kB / 0.5709 GB, free: 2.695 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0011/0.4774, allocations: 0.5353 MB / 0.5714 GB, free: 2.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.4777, allocations: 88.44 kB / 0.5715 GB, free: 2.074 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4777, allocations: 0 / 0.5715 GB, free: 2.074 MB / 442.7 MB Notification: Performance of Templates: time 0.02505/0.5027, allocations: 12.89 MB / 0.5841 GB, free: 5.406 MB / 458.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.063717059907503]