Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001912/0.001912, 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.001983/0.001983, allocations: 164.8 kB / 24.27 MB, free: 156 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.555/1.555, allocations: 177 MB / 204.5 MB, free: 5.602 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.3455/0.3455, allocations: 34.25 MB / 295.2 MB, free: 0.6484 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.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.831e-05, allocations: 3.156 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4023/0.4023, allocations: 179.8 MB / 0.544 GB, free: 10.58 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.4092, allocations: 3.653 MB / 0.5476 GB, free: 8.172 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008509/0.4101, allocations: 22.56 kB / 0.5476 GB, free: 8.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.4112, allocations: 313.3 kB / 0.5479 GB, free: 7.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.4164, allocations: 1.769 MB / 0.5496 GB, free: 7.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.4185, allocations: 0.74 MB / 0.5503 GB, free: 6.523 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.4206, allocations: 1.555 MB / 0.5519 GB, free: 5.605 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006227/0.4212, allocations: 376.2 kB / 0.5522 GB, free: 5.344 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.4224, allocations: 0.8039 MB / 0.553 GB, free: 4.855 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.423, allocations: 406.8 kB / 0.5534 GB, free: 4.652 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.4231, allocations: 51.22 kB / 0.5534 GB, free: 4.652 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.4257, allocations: 1.145 MB / 0.5546 GB, free: 4.094 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.426, allocations: 172.9 kB / 0.5547 GB, free: 3.961 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.4263, allocations: 247 kB / 0.555 GB, free: 3.855 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.4294, allocations: 1.749 MB / 0.5567 GB, free: 2.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4294, allocations: 4 kB / 0.5567 GB, free: 2.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4294, allocations: 0 / 0.5567 GB, free: 2.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4294, allocations: 0 / 0.5567 GB, free: 2.094 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002361/0.4318, allocations: 1.16 MB / 0.5578 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4318, allocations: 12.62 kB / 0.5578 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.433, allocations: 219 kB / 0.558 GB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.434, allocations: 436.5 kB / 0.5584 GB, free: 220 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.434, allocations: 32.94 kB / 0.5585 GB, free: 188 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.236e-05/0.4341, allocations: 48 kB / 0.5585 GB, free: 140 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.4356, allocations: 0.9212 MB / 0.5594 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4356, allocations: 3.938 kB / 0.5594 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.4357, allocations: 24 kB / 0.5594 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.4357, allocations: 12 kB / 0.5594 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009423/0.4367, allocations: 411.5 kB / 0.5598 GB, free: 14.65 MB / 442.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.003469/0.4401, allocations: 2.424 MB / 0.5622 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.4409, allocations: 324 kB / 0.5625 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.4412, allocations: 140.2 kB / 0.5627 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.4415, allocations: 56.23 kB / 0.5627 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.4415, allocations: 41.67 kB / 0.5627 GB, free: 11.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.053e-06/0.4415, allocations: 0 / 0.5627 GB, free: 11.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001813/0.4433, allocations: 0.6385 MB / 0.5634 GB, free: 10.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4434, allocations: 132.5 kB / 0.5635 GB, free: 10.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.4441, allocations: 0.4947 MB / 0.564 GB, free: 10.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.4441, allocations: 33.7 kB / 0.564 GB, free: 10.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.4444, allocations: 347.1 kB / 0.5643 GB, free: 9.859 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.4445, allocations: 126.9 kB / 0.5645 GB, free: 9.734 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.4448, allocations: 123.8 kB / 0.5646 GB, free: 9.605 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000365/0.4451, allocations: 0.5508 MB / 0.5651 GB, free: 9.043 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.4454, allocations: 128.9 kB / 0.5652 GB, free: 8.918 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/0.4462, allocations: 405.4 kB / 0.5656 GB, free: 8.426 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/0.447, allocations: 459.3 kB / 0.5661 GB, free: 7.918 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.447, allocations: 4 kB / 0.5661 GB, free: 7.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001118/0.4482, allocations: 0.5317 MB / 0.5666 GB, free: 7.371 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4482, allocations: 8 kB / 0.5666 GB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4482, allocations: 4 kB / 0.5666 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.4496, allocations: 207.8 kB / 0.5668 GB, free: 7.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.45, allocations: 95.89 kB / 0.5669 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007597/0.4508, allocations: 0.8741 MB / 0.5677 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.4511, allocations: 35.78 kB / 0.5678 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/0.4512, allocations: 52.02 kB / 0.5678 GB, free: 6.066 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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002951/0.4515, allocations: 212.5 kB / 0.568 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.4516, allocations: 67.58 kB / 0.5681 GB, free: 5.781 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.4538, allocations: 1.119 MB / 0.5692 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4538, allocations: 7.938 kB / 0.5692 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4538, allocations: 0 / 0.5692 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4538, allocations: 4 kB / 0.5692 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.4554, allocations: 0.9764 MB / 0.5702 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4554, allocations: 0 / 0.5702 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.4557, allocations: 47.91 kB / 0.5702 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/0.4586, allocations: 351.3 kB / 0.5705 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.4586, allocations: 8 kB / 0.5705 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007424/0.4593, allocations: 0.8858 MB / 0.5714 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4593, allocations: 0 / 0.5714 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009287/0.4603, allocations: 0.5526 MB / 0.5719 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/0.4604, allocations: 55.55 kB / 0.572 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.628e-05/0.4605, allocations: 15.94 kB / 0.572 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.4607, allocations: 16.86 kB / 0.572 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.4608, allocations: 23.97 kB / 0.5721 GB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.4609, allocations: 19.98 kB / 0.5721 GB, free: 1.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007222/0.4616, allocations: 367 kB / 0.5724 GB, free: 1.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4616, allocations: 0 / 0.5724 GB, free: 1.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001021/0.4626, allocations: 354.8 kB / 0.5728 GB, free: 0.8477 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.4637, allocations: 478.6 kB / 0.5732 GB, free: 384 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009171/0.4646, allocations: 366.5 kB / 0.5736 GB, free: 16 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4646, allocations: 4 kB / 0.5736 GB, free: 12 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.465, allocations: 167.5 kB / 0.5737 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.4665, allocations: 322.7 kB / 0.574 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.4682, allocations: 0.8743 MB / 0.5749 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4685, allocations: 246.9 kB / 0.5751 GB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001054/0.4695, allocations: 0.5322 MB / 0.5756 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.4698, allocations: 84.45 kB / 0.5757 GB, free: 13.74 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4698, allocations: 4 kB / 0.5757 GB, free: 13.74 MB / 458.7 MB Notification: Performance of Templates: time 0.03046/0.5002, allocations: 16.22 MB / 0.5916 GB, free: 13.72 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.0943344929255545]