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.001617/0.001617, allocations: 116.9 kB / 19.12 MB, free: 3.93 MB / 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.00175/0.00175, allocations: 210.6 kB / 22.08 MB, free: 0.9766 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.458/1.458, allocations: 227.4 MB / 252.3 MB, free: 272 kB / 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.24/0.24, allocations: 46.17 MB / 351.8 MB, free: 14.34 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.002262/0.002262, allocations: 80.97 kB / 490.9 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1271, allocations: 62.45 MB / 0.5404 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5034/0.6305, allocations: 186 MB / 0.722 GB, free: 5.781 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.006813/0.6374, allocations: 3.663 MB / 0.7255 GB, free: 2.105 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008961/0.6383, allocations: 15.94 kB / 0.7256 GB, free: 2.09 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.6394, allocations: 313.8 kB / 0.7259 GB, free: 1.781 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.6445, allocations: 1.727 MB / 0.7275 GB, free: 56 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.6467, allocations: 0.71 MB / 0.7282 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.6491, allocations: 1.535 MB / 0.7297 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.65, allocations: 423.3 kB / 0.7301 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.6513, allocations: 0.5877 MB / 0.7307 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.652, allocations: 446.2 kB / 0.7311 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/0.6521, allocations: 48 kB / 0.7312 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.6559, allocations: 1.926 MB / 0.7331 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.6561, allocations: 159.4 kB / 0.7332 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.6566, allocations: 346.5 kB / 0.7336 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003578/0.6602, allocations: 1.827 MB / 0.7353 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6602, allocations: 0 / 0.7353 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.188e-06/0.6603, allocations: 7.938 kB / 0.7353 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.6603, allocations: 0 / 0.7353 GB, free: 8.055 MB / 0.5294 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.002289/0.6626, allocations: 1.108 MB / 0.7364 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6626, allocations: 8.031 kB / 0.7364 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.6637, allocations: 147.5 kB / 0.7366 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009178/0.6646, allocations: 488.8 kB / 0.737 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.6646, allocations: 36.92 kB / 0.7371 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.6647, allocations: 43.94 kB / 0.7371 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.6659, allocations: 0.5906 MB / 0.7377 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.6659, allocations: 0 / 0.7377 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.666, allocations: 20 kB / 0.7377 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.666, allocations: 8 kB / 0.7377 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009554/0.667, allocations: 471.6 kB / 0.7382 GB, free: 5.027 MB / 0.5294 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.003193/0.6702, allocations: 2.648 MB / 0.7408 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.6709, allocations: 347.4 kB / 0.7411 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.6713, allocations: 165.3 kB / 0.7412 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/0.6717, allocations: 445.8 kB / 0.7417 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.6718, allocations: 34.84 kB / 0.7417 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.6718, allocations: 4 kB / 0.7417 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001812/0.6736, allocations: 0.715 MB / 0.7424 GB, free: 340 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/0.6737, allocations: 132.5 kB / 0.7425 GB, free: 176 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.6743, allocations: 466 kB / 0.743 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.6744, allocations: 33.7 kB / 0.743 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.6746, allocations: 280.2 kB / 0.7433 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.6747, allocations: 119 kB / 0.7434 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.6749, allocations: 106.1 kB / 0.7435 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.6751, allocations: 370.7 kB / 0.7438 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.6754, allocations: 144.8 kB / 0.744 GB, free: 14.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.6758, allocations: 283.6 kB / 0.7443 GB, free: 14.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.6766, allocations: 441.6 kB / 0.7447 GB, free: 13.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6766, allocations: 0 / 0.7447 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001059/0.6777, allocations: 0.5329 MB / 0.7452 GB, free: 13.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6777, allocations: 11.94 kB / 0.7452 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6777, allocations: 4 kB / 0.7452 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.6793, allocations: 240.9 kB / 0.7454 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.6797, allocations: 108.7 kB / 0.7455 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000513/0.6802, allocations: 0.5914 MB / 0.7461 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.6805, allocations: 47.66 kB / 0.7462 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.6806, allocations: 40 kB / 0.7462 GB, free: 12.24 MB / 0.545 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.0002831/0.6809, allocations: 189.6 kB / 0.7464 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.681, allocations: 51.67 kB / 0.7464 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.683, allocations: 1.081 MB / 0.7475 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.683, allocations: 4 kB / 0.7475 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.683, allocations: 0 / 0.7475 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.683, allocations: 3.984 kB / 0.7475 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.6846, allocations: 1.011 MB / 0.7485 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.6847, allocations: 4 kB / 0.7485 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.6849, allocations: 43.97 kB / 0.7485 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/0.6881, allocations: 444.2 kB / 0.749 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.6881, allocations: 8 kB / 0.749 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004955/0.6886, allocations: 0.5993 MB / 0.7495 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6886, allocations: 4.031 kB / 0.7495 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/0.6895, allocations: 0.5118 MB / 0.75 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.6897, allocations: 136.6 kB / 0.7502 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.6898, allocations: 15.94 kB / 0.7502 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.6901, allocations: 15.98 kB / 0.7502 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.6902, allocations: 19.98 kB / 0.7502 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.6903, allocations: 27.92 kB / 0.7503 GB, free: 7.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005255/0.6908, allocations: 398.8 kB / 0.7506 GB, free: 7.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.124e-06/0.6908, allocations: 0 / 0.7506 GB, free: 7.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001023/0.6918, allocations: 346.9 kB / 0.751 GB, free: 7.164 MB / 0.545 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.001129/0.693, allocations: 449.6 kB / 0.7514 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009511/0.6939, allocations: 376.5 kB / 0.7518 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6939, allocations: 0 / 0.7518 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.6943, allocations: 167.8 kB / 0.7519 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.6961, allocations: 375 kB / 0.7523 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.6976, allocations: 0.9206 MB / 0.7532 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.6981, allocations: 0.8556 MB / 0.754 GB, free: 3.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.6985, allocations: 127.3 kB / 0.7541 GB, free: 3.855 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.6985, allocations: 4 kB / 0.7541 GB, free: 3.852 MB / 0.545 GB Notification: Performance of Templates: time 0.02284/0.7214, allocations: 15.43 MB / 0.7692 GB, free: 4.461 MB / 0.5606 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.497762011946179]