Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001889/0.001889, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00207/0.00207, allocations: 160.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.564/1.564, allocations: 177 MB / 204.4 MB, free: 5.613 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.4042/0.4042, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.CurvedBend,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.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.186e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3995/0.3996, allocations: 179.9 MB / 0.544 GB, free: 10.55 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.4073, allocations: 3.643 MB / 0.5476 GB, free: 8.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000866/0.4082, allocations: 24.62 kB / 0.5476 GB, free: 8.145 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.4095, allocations: 324.4 kB / 0.5479 GB, free: 7.957 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005803/0.4153, allocations: 1.789 MB / 0.5497 GB, free: 7.043 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.4178, allocations: 0.7228 MB / 0.5504 GB, free: 6.508 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.4203, allocations: 1.557 MB / 0.5519 GB, free: 5.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009239/0.4212, allocations: 380.7 kB / 0.5523 GB, free: 5.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.4234, allocations: 0.7986 MB / 0.553 GB, free: 4.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009796/0.4244, allocations: 409.4 kB / 0.5534 GB, free: 4.637 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.4246, allocations: 52.03 kB / 0.5535 GB, free: 4.637 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.4285, allocations: 1.203 MB / 0.5547 GB, free: 4.047 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.4289, allocations: 172.7 kB / 0.5548 GB, free: 3.914 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.4297, allocations: 258.7 kB / 0.5551 GB, free: 3.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.4346, allocations: 1.788 MB / 0.5568 GB, free: 1.973 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4346, allocations: 0 / 0.5568 GB, free: 1.973 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4346, allocations: 0 / 0.5568 GB, free: 1.973 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.34e-05/0.4347, allocations: 0 / 0.5568 GB, free: 1.973 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.002868/0.4375, allocations: 1.16 MB / 0.5579 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.4376, allocations: 12.62 kB / 0.558 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.4389, allocations: 219.1 kB / 0.5582 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.4399, allocations: 447.8 kB / 0.5586 GB, free: 88 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.44, allocations: 37 kB / 0.5586 GB, free: 52 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.4401, allocations: 44 kB / 0.5587 GB, free: 8 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.4417, allocations: 0.9251 MB / 0.5596 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.4418, allocations: 11.86 kB / 0.5596 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.4418, allocations: 20 kB / 0.5596 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.4418, allocations: 8 kB / 0.5596 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4428, allocations: 419.6 kB / 0.56 GB, free: 14.5 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.004104/0.447, allocations: 2.432 MB / 0.5624 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.4478, allocations: 321.8 kB / 0.5627 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.4481, allocations: 152.2 kB / 0.5628 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.4484, allocations: 48.25 kB / 0.5629 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.4484, allocations: 41.67 kB / 0.5629 GB, free: 11.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.4484, allocations: 0 / 0.5629 GB, free: 11.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001923/0.4504, allocations: 0.6385 MB / 0.5635 GB, free: 10.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.4505, allocations: 136.5 kB / 0.5637 GB, free: 10.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008612/0.4513, allocations: 0.5103 MB / 0.5642 GB, free: 10.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.999e-05/0.4514, allocations: 33.7 kB / 0.5642 GB, free: 10.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.4518, allocations: 359 kB / 0.5646 GB, free: 9.684 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.4519, allocations: 123 kB / 0.5647 GB, free: 9.562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.4521, allocations: 119.8 kB / 0.5648 GB, free: 9.438 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003474/0.4525, allocations: 0.5469 MB / 0.5653 GB, free: 8.879 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.4528, allocations: 140.9 kB / 0.5655 GB, free: 8.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.4534, allocations: 400.3 kB / 0.5658 GB, free: 8.254 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008472/0.4542, allocations: 464.1 kB / 0.5663 GB, free: 7.738 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4543, allocations: 0 / 0.5663 GB, free: 7.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001224/0.4555, allocations: 0.528 MB / 0.5668 GB, free: 7.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.4555, allocations: 11.98 kB / 0.5668 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4555, allocations: 4 kB / 0.5668 GB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.457, allocations: 203.7 kB / 0.567 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.4574, allocations: 107.8 kB / 0.5671 GB, free: 6.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008001/0.4582, allocations: 0.8702 MB / 0.568 GB, free: 5.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.4586, allocations: 38.09 kB / 0.568 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.4587, allocations: 47.98 kB / 0.568 GB, free: 5.891 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.0003612/0.459, allocations: 220.5 kB / 0.5682 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.4592, allocations: 67.61 kB / 0.5683 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.4615, allocations: 1.123 MB / 0.5694 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4615, allocations: 4 kB / 0.5694 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4615, allocations: 0 / 0.5694 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4616, allocations: 3.984 kB / 0.5694 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.4634, allocations: 0.9919 MB / 0.5704 GB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4634, allocations: 0 / 0.5704 GB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.4636, allocations: 48.86 kB / 0.5704 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/0.4668, allocations: 359.3 kB / 0.5708 GB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.4668, allocations: 8 kB / 0.5708 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007757/0.4676, allocations: 0.8815 MB / 0.5716 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.4676, allocations: 7.984 kB / 0.5717 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4686, allocations: 0.5573 MB / 0.5722 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.4688, allocations: 47.64 kB / 0.5722 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.4689, allocations: 19.83 kB / 0.5723 GB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.4692, allocations: 20.02 kB / 0.5723 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.4693, allocations: 27.91 kB / 0.5723 GB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.4693, allocations: 15.98 kB / 0.5723 GB, free: 1.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005541/0.4699, allocations: 375 kB / 0.5727 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4699, allocations: 0 / 0.5727 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001257/0.4711, allocations: 354.9 kB / 0.573 GB, free: 0.6289 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.001348/0.4725, allocations: 450.9 kB / 0.5734 GB, free: 184 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4735, allocations: 370.7 kB / 0.5738 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.4735, allocations: 128 / 0.5738 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.4739, allocations: 175.4 kB / 0.574 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.4756, allocations: 320.3 kB / 0.5743 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.4775, allocations: 0.8801 MB / 0.5751 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.4778, allocations: 259.2 kB / 0.5754 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001156/0.479, allocations: 0.5404 MB / 0.5759 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.4792, allocations: 84.45 kB / 0.576 GB, free: 13.51 MB / 458.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4792, allocations: 4 kB / 0.576 GB, free: 13.51 MB / 458.7 MB Notification: Performance of Templates: time 0.0321/0.5113, allocations: 16.69 MB / 0.5923 GB, free: 13.01 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.094791430979967]