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.001723/0.001723, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 14.72 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.002203/0.002203, allocations: 162.5 kB / 24.5 MB, free: 3.449 MB / 14.72 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.444/1.444, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 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.2161/0.2161, allocations: 34.25 MB / 295.4 MB, free: 14.48 MB / 286.1 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 0.002407/0.002407, allocations: 79.88 kB / 443.2 MB, free: 6.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3157, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1935/0.5092, allocations: 161.7 MB / 0.6552 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006102/0.5153, allocations: 3.398 MB / 0.6585 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006395/0.5159, allocations: 23.81 kB / 0.6585 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008966/0.5168, allocations: 313.9 kB / 0.6588 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.5211, allocations: 1.745 MB / 0.6605 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.5231, allocations: 0.726 MB / 0.6613 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.5252, allocations: 1.548 MB / 0.6628 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.5258, allocations: 355.8 kB / 0.6631 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.5267, allocations: 0.5995 MB / 0.6637 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.5273, allocations: 462 kB / 0.6641 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.5274, allocations: 48 kB / 0.6642 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.5298, allocations: 1.135 MB / 0.6653 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.53, allocations: 163.4 kB / 0.6654 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.5303, allocations: 290.8 kB / 0.6657 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.5326, allocations: 1.632 MB / 0.6673 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5326, allocations: 0 / 0.6673 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5326, allocations: 3.938 kB / 0.6673 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5326, allocations: 0 / 0.6673 GB, free: 6.887 MB / 0.5606 GB 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.001897/0.5345, allocations: 1.029 MB / 0.6683 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5345, allocations: 8.625 kB / 0.6683 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5356, allocations: 151.5 kB / 0.6685 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.5364, allocations: 413.6 kB / 0.6689 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.5364, allocations: 36.94 kB / 0.6689 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.5365, allocations: 36 kB / 0.6689 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.5378, allocations: 0.8879 MB / 0.6698 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5378, allocations: 4 kB / 0.6698 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.5378, allocations: 24 kB / 0.6698 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.5379, allocations: 12 kB / 0.6698 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/0.5388, allocations: 475.5 kB / 0.6703 GB, free: 3.66 MB / 0.5606 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.002715/0.5415, allocations: 1.877 MB / 0.6721 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.5423, allocations: 321 kB / 0.6724 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.5426, allocations: 149.3 kB / 0.6726 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.5428, allocations: 56.23 kB / 0.6726 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.5429, allocations: 38.84 kB / 0.6727 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.5429, allocations: 0 / 0.6727 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001751/0.5446, allocations: 0.6281 MB / 0.6733 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.5447, allocations: 140.5 kB / 0.6734 GB, free: 352 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.5452, allocations: 401.9 kB / 0.6738 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.5452, allocations: 29.7 kB / 0.6738 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.5455, allocations: 288.4 kB / 0.6741 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.5456, allocations: 122.9 kB / 0.6742 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.5457, allocations: 106.1 kB / 0.6743 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.5459, allocations: 354.8 kB / 0.6747 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.5462, allocations: 144.9 kB / 0.6748 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.5467, allocations: 353.5 kB / 0.6751 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.5475, allocations: 445.6 kB / 0.6756 GB, free: 14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5475, allocations: 0 / 0.6756 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001064/0.5486, allocations: 0.533 MB / 0.6761 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5486, allocations: 11.94 kB / 0.6761 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.5486, allocations: 4 kB / 0.6761 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.5502, allocations: 244.8 kB / 0.6763 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.5505, allocations: 103.9 kB / 0.6764 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004892/0.551, allocations: 0.5836 MB / 0.677 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.5513, allocations: 39.72 kB / 0.677 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/0.5514, allocations: 52.05 kB / 0.6771 GB, free: 12.39 MB / 0.5762 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 (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.0002403/0.5517, allocations: 181.7 kB / 0.6773 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.5518, allocations: 51.66 kB / 0.6773 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.5537, allocations: 1.088 MB / 0.6784 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.5537, allocations: 4 kB / 0.6784 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5537, allocations: 0 / 0.6784 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5537, allocations: 7.984 kB / 0.6784 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.5551, allocations: 0.8466 MB / 0.6792 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5551, allocations: 3.938 kB / 0.6792 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.5554, allocations: 51.91 kB / 0.6793 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003179/0.5585, allocations: 432.4 kB / 0.6797 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.5586, allocations: 19.92 kB / 0.6797 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000467/0.559, allocations: 0.6031 MB / 0.6803 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.559, allocations: 3.938 kB / 0.6803 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.5598, allocations: 0.4885 MB / 0.6808 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.5599, allocations: 43.66 kB / 0.6808 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.56, allocations: 19.88 kB / 0.6808 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.5603, allocations: 15.98 kB / 0.6808 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.5604, allocations: 31.97 kB / 0.6809 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.5604, allocations: 19.98 kB / 0.6809 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003876/0.5608, allocations: 311.1 kB / 0.6812 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5608, allocations: 4 kB / 0.6812 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000997/0.5618, allocations: 358.8 kB / 0.6815 GB, free: 7.676 MB / 0.5762 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 (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.0009025/0.5627, allocations: 445.3 kB / 0.682 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008215/0.5635, allocations: 352.8 kB / 0.6823 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5635, allocations: 4 kB / 0.6823 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.5639, allocations: 152.4 kB / 0.6824 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.5652, allocations: 287.5 kB / 0.6827 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.5666, allocations: 0.885 MB / 0.6836 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.5669, allocations: 258.9 kB / 0.6838 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009603/0.5679, allocations: 0.5478 MB / 0.6844 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.5681, allocations: 80.47 kB / 0.6844 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.5681, allocations: 0 / 0.6844 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of Templates: time 0.26/0.828, allocations: 16.2 MB / 0.7003 GB, free: 166.4 MB / 0.5762 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/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.3875523989554495]