Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 44.94 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.89 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 65.48 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2133/0.5249, allocations: 161.7 MB / 0.7162 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00739/0.5323, allocations: 3.404 MB / 0.7195 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007834/0.5331, allocations: 19.81 kB / 0.7195 GB, free: 1.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.5344, allocations: 313.9 kB / 0.7198 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005214/0.5396, allocations: 1.764 MB / 0.7215 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.5416, allocations: 0.7164 MB / 0.7222 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.5439, allocations: 1.547 MB / 0.7237 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.5445, allocations: 367.8 kB / 0.7241 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.5455, allocations: 0.6073 MB / 0.7247 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006772/0.5462, allocations: 458 kB / 0.7251 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.5463, allocations: 52 kB / 0.7252 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.5491, allocations: 1.197 MB / 0.7263 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.5493, allocations: 159.4 kB / 0.7265 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.5497, allocations: 290.8 kB / 0.7268 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.5526, allocations: 1.667 MB / 0.7284 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5526, allocations: 0 / 0.7284 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5526, allocations: 0 / 0.7284 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5526, allocations: 4 kB / 0.7284 GB, free: 8.586 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.002109/0.5547, allocations: 1.041 MB / 0.7294 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5547, allocations: 8.031 kB / 0.7294 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5558, allocations: 135.5 kB / 0.7295 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.5566, allocations: 425.6 kB / 0.73 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.5567, allocations: 36.94 kB / 0.73 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.5568, allocations: 40 kB / 0.73 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5581, allocations: 0.8957 MB / 0.7309 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.5581, allocations: 7.938 kB / 0.7309 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.5582, allocations: 20 kB / 0.7309 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.5582, allocations: 12 kB / 0.7309 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.5592, allocations: 475.6 kB / 0.7314 GB, free: 5.34 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.00295/0.5621, allocations: 1.881 MB / 0.7332 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.5629, allocations: 323.5 kB / 0.7335 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.5633, allocations: 157.3 kB / 0.7337 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.5635, allocations: 48.23 kB / 0.7337 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.5636, allocations: 38.84 kB / 0.7338 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.5636, allocations: 0 / 0.7338 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001781/0.5653, allocations: 0.6437 MB / 0.7344 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/0.5654, allocations: 132.5 kB / 0.7345 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.566, allocations: 413.9 kB / 0.7349 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.566, allocations: 33.7 kB / 0.735 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.5662, allocations: 288.4 kB / 0.7352 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.5664, allocations: 126.9 kB / 0.7353 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.5665, allocations: 106 kB / 0.7354 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.5667, allocations: 354.8 kB / 0.7358 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.5671, allocations: 156.7 kB / 0.7359 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.5676, allocations: 360.7 kB / 0.7363 GB, free: 100 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2349/0.8025, allocations: 429.2 kB / 0.7367 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8025, allocations: 1.031 kB / 0.7367 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001288/0.8038, allocations: 0.5439 MB / 0.7372 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.8038, allocations: 10.81 kB / 0.7372 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.8038, allocations: 3.281 kB / 0.7372 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.8054, allocations: 243.9 kB / 0.7375 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.8058, allocations: 105.9 kB / 0.7376 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003733/0.8062, allocations: 0.5927 MB / 0.7381 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.8065, allocations: 34.41 kB / 0.7382 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.8066, allocations: 50 kB / 0.7382 GB, free: 178 MB / 0.5606 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.0002559/0.8069, allocations: 185.2 kB / 0.7384 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.807, allocations: 56 kB / 0.7385 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.8088, allocations: 1.074 MB / 0.7395 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8088, allocations: 9.656 kB / 0.7395 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8088, allocations: 3.531 kB / 0.7395 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.8088, allocations: 2.156 kB / 0.7395 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.81, allocations: 0.8611 MB / 0.7404 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.81, allocations: 3.844 kB / 0.7404 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.8102, allocations: 52.38 kB / 0.7404 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/0.813, allocations: 437.3 kB / 0.7408 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.813, allocations: 13.16 kB / 0.7408 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002942/0.8133, allocations: 0.6087 MB / 0.7414 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8133, allocations: 0 / 0.7414 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.8139, allocations: 0.4919 MB / 0.7419 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.814, allocations: 48.33 kB / 0.742 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.8141, allocations: 14.94 kB / 0.742 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.8144, allocations: 20.69 kB / 0.742 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.8144, allocations: 29.52 kB / 0.742 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.8144, allocations: 19.72 kB / 0.742 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002993/0.8147, allocations: 328.4 kB / 0.7424 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8147, allocations: 0 / 0.7424 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008262/0.8156, allocations: 350 kB / 0.7427 GB, free: 175.5 MB / 0.5606 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.0007383/0.8163, allocations: 426 kB / 0.7431 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007082/0.817, allocations: 362.6 kB / 0.7434 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.817, allocations: 0.7656 kB / 0.7434 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.8173, allocations: 155.2 kB / 0.7436 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.8185, allocations: 300.2 kB / 0.7439 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.8197, allocations: 0.9276 MB / 0.7448 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.8198, allocations: 258.2 kB / 0.745 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.8201, allocations: 119.4 kB / 0.7451 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/0.8201, allocations: 0 / 0.7451 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01491/0.835, allocations: 15.12 MB / 0.7599 GB, free: 158.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 11.072757753077894]