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.001535/0.001535, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00165/0.00165, allocations: 157.7 kB / 24.27 MB, free: 168 kB / 18.57 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.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3475/0.3475, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.662e-05, allocations: 2.312 kB / 375.3 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3492/0.3492, allocations: 161.6 MB / 0.5243 GB, free: 6.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005434/0.3547, allocations: 3.412 MB / 0.5277 GB, free: 4.344 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.3553, allocations: 26.72 kB / 0.5277 GB, free: 4.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009607/0.3563, allocations: 320.6 kB / 0.528 GB, free: 4.145 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.3605, allocations: 1.794 MB / 0.5298 GB, free: 3.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.3623, allocations: 0.7162 MB / 0.5305 GB, free: 2.902 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.3639, allocations: 1.565 MB / 0.532 GB, free: 2.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.3644, allocations: 370.1 kB / 0.5323 GB, free: 1.918 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3654, allocations: 0.7989 MB / 0.5331 GB, free: 1.586 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.3659, allocations: 417.5 kB / 0.5335 GB, free: 1.453 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.366, allocations: 50.25 kB / 0.5336 GB, free: 1.453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.3683, allocations: 1.205 MB / 0.5347 GB, free: 1.121 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.3685, allocations: 172.8 kB / 0.5349 GB, free: 1.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.3687, allocations: 244.8 kB / 0.5351 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.371, allocations: 1.786 MB / 0.5369 GB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.371, allocations: 2.5 kB / 0.5369 GB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.371, allocations: 4 kB / 0.5369 GB, free: 240 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.371, allocations: 0 / 0.5369 GB, free: 240 kB / 410.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.002122/0.3732, allocations: 1.026 MB / 0.5379 GB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3732, allocations: 12.02 kB / 0.5379 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.3744, allocations: 220 kB / 0.5381 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.3752, allocations: 451.8 kB / 0.5385 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3752, allocations: 28.59 kB / 0.5386 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.3753, allocations: 52.31 kB / 0.5386 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.3767, allocations: 0.8891 MB / 0.5395 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3768, allocations: 7.875 kB / 0.5395 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.3768, allocations: 19.97 kB / 0.5395 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3768, allocations: 10.53 kB / 0.5395 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.3778, allocations: 476.8 kB / 0.54 GB, free: 13.96 MB / 426.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.003069/0.3809, allocations: 1.889 MB / 0.5418 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.3817, allocations: 326.6 kB / 0.5421 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.382, allocations: 155 kB / 0.5423 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.3822, allocations: 53.03 kB / 0.5423 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.3823, allocations: 37.94 kB / 0.5424 GB, free: 12.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.3823, allocations: 0 / 0.5424 GB, free: 12.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001891/0.3842, allocations: 0.6747 MB / 0.543 GB, free: 11.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.3843, allocations: 131.2 kB / 0.5432 GB, free: 11.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.3848, allocations: 417.3 kB / 0.5436 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.3849, allocations: 32.27 kB / 0.5436 GB, free: 11.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.3851, allocations: 286.1 kB / 0.5439 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.3853, allocations: 126.7 kB / 0.544 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3855, allocations: 105 kB / 0.5441 GB, free: 10.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.3857, allocations: 353.7 kB / 0.5444 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/0.3863, allocations: 149.7 kB / 0.5446 GB, free: 10.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.3868, allocations: 360.4 kB / 0.5449 GB, free: 10.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.3876, allocations: 433.4 kB / 0.5453 GB, free: 9.871 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3876, allocations: 0 / 0.5453 GB, free: 9.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001122/0.3888, allocations: 0.5524 MB / 0.5459 GB, free: 9.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3888, allocations: 5 kB / 0.5459 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3888, allocations: 2.906 kB / 0.5459 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.3904, allocations: 245.9 kB / 0.5461 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.3907, allocations: 111.7 kB / 0.5462 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005959/0.3913, allocations: 0.5964 MB / 0.5468 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.3917, allocations: 41.16 kB / 0.5468 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/0.3918, allocations: 48.08 kB / 0.5469 GB, free: 8.84 MB / 426.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.0003242/0.3921, allocations: 176.4 kB / 0.547 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.3922, allocations: 63.41 kB / 0.5471 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.3942, allocations: 1.077 MB / 0.5481 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3942, allocations: 3 kB / 0.5482 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3942, allocations: 3.984 kB / 0.5482 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3942, allocations: 8.172 kB / 0.5482 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.3958, allocations: 0.8593 MB / 0.549 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3958, allocations: 3 kB / 0.549 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.396, allocations: 52.16 kB / 0.5491 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003329/0.3993, allocations: 445.1 kB / 0.5495 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.3993, allocations: 9.062 kB / 0.5495 GB, free: 7.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005695/0.3999, allocations: 0.6066 MB / 0.5501 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.3999, allocations: 2.781 kB / 0.5501 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.4009, allocations: 0.5103 MB / 0.5506 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.401, allocations: 59.64 kB / 0.5506 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.4011, allocations: 11.94 kB / 0.5507 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.4014, allocations: 19.98 kB / 0.5507 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.4015, allocations: 19.95 kB / 0.5507 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.4015, allocations: 19.94 kB / 0.5507 GB, free: 6.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000509/0.402, allocations: 327.1 kB / 0.551 GB, free: 5.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.402, allocations: 0 / 0.551 GB, free: 5.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001386/0.4034, allocations: 354.9 kB / 0.5514 GB, free: 5.359 MB / 426.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.001096/0.4045, allocations: 451.3 kB / 0.5518 GB, free: 4.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009444/0.4054, allocations: 364 kB / 0.5521 GB, free: 4.551 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4054, allocations: 0 / 0.5521 GB, free: 4.551 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.4058, allocations: 151.7 kB / 0.5523 GB, free: 4.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.4073, allocations: 329.3 kB / 0.5526 GB, free: 4.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.4089, allocations: 0.8624 MB / 0.5534 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.4095, allocations: 259.2 kB / 0.5537 GB, free: 2.906 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.4106, allocations: 0.5509 MB / 0.5542 GB, free: 2.359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.4108, allocations: 84.47 kB / 0.5543 GB, free: 2.277 MB / 426.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4108, allocations: 0 / 0.5543 GB, free: 2.277 MB / 426.7 MB Notification: Performance of Templates: time 0.03131/0.4421, allocations: 16.67 MB / 0.5706 GB, free: 1.852 MB / 442.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/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: 5.917066136957146]