Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001988/0.001988, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002534/0.002534, allocations: 161.7 kB / 24.27 MB, free: 172 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.532/1.532, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3274/0.3274, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.452e-05, allocations: 2.312 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3438/0.3438, allocations: 161.6 MB / 0.5263 GB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005534/0.3493, allocations: 3.403 MB / 0.5296 GB, free: 2.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000928/0.3502, allocations: 26.22 kB / 0.5297 GB, free: 2.215 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.3513, allocations: 316.4 kB / 0.53 GB, free: 2.035 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004529/0.3558, allocations: 1.799 MB / 0.5317 GB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.3579, allocations: 0.7174 MB / 0.5324 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.36, allocations: 1.564 MB / 0.534 GB, free: 28 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000786/0.3608, allocations: 369.9 kB / 0.5343 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.3623, allocations: 0.7981 MB / 0.5351 GB, free: 15.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006852/0.3629, allocations: 419 kB / 0.5355 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.363, allocations: 50.81 kB / 0.5355 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.3661, allocations: 1.209 MB / 0.5367 GB, free: 15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.3663, allocations: 162.8 kB / 0.5369 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.3667, allocations: 250.9 kB / 0.5371 GB, free: 14.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.3701, allocations: 1.786 MB / 0.5389 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3701, allocations: 2.844 kB / 0.5389 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3701, allocations: 4 kB / 0.5389 GB, free: 13.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.3701, allocations: 0 / 0.5389 GB, free: 13.82 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.00262/0.3727, allocations: 1.024 MB / 0.5399 GB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3728, allocations: 7.438 kB / 0.5399 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.374, allocations: 220.5 kB / 0.5401 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.3749, allocations: 445.3 kB / 0.5405 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.3749, allocations: 31.47 kB / 0.5405 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.375, allocations: 51.97 kB / 0.5406 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.3765, allocations: 0.8987 MB / 0.5415 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3765, allocations: 7.875 kB / 0.5415 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.3766, allocations: 17.91 kB / 0.5415 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3766, allocations: 13.16 kB / 0.5415 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009627/0.3775, allocations: 472.8 kB / 0.5419 GB, free: 11.55 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.003128/0.3807, allocations: 1.891 MB / 0.5438 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.3814, allocations: 330.8 kB / 0.5441 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.3818, allocations: 150 kB / 0.5443 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.382, allocations: 55.08 kB / 0.5443 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.382, allocations: 40.31 kB / 0.5443 GB, free: 9.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.382, allocations: 0 / 0.5443 GB, free: 9.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.00183/0.3839, allocations: 0.669 MB / 0.545 GB, free: 9.367 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.384, allocations: 133.9 kB / 0.5451 GB, free: 9.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.3845, allocations: 417.8 kB / 0.5455 GB, free: 8.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.3845, allocations: 29.7 kB / 0.5456 GB, free: 8.918 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.3848, allocations: 288 kB / 0.5458 GB, free: 8.664 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3849, allocations: 120.4 kB / 0.5459 GB, free: 8.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.3851, allocations: 107.1 kB / 0.546 GB, free: 8.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.3854, allocations: 359.2 kB / 0.5464 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.3857, allocations: 148.7 kB / 0.5465 GB, free: 8.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.3862, allocations: 363.9 kB / 0.5469 GB, free: 7.746 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/0.387, allocations: 428.8 kB / 0.5473 GB, free: 7.461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.387, allocations: 0 / 0.5473 GB, free: 7.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001115/0.3881, allocations: 0.5529 MB / 0.5478 GB, free: 7.176 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3882, allocations: 8.438 kB / 0.5478 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3882, allocations: 2.625 kB / 0.5478 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.3898, allocations: 245.8 kB / 0.5481 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.3902, allocations: 103.9 kB / 0.5482 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006353/0.3908, allocations: 0.6038 MB / 0.5488 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.3912, allocations: 37.17 kB / 0.5488 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/0.3913, allocations: 44.89 kB / 0.5488 GB, free: 6.434 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.0003157/0.3916, allocations: 187.4 kB / 0.549 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.3917, allocations: 61.09 kB / 0.5491 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.394, allocations: 1.076 MB / 0.5501 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.394, allocations: 4 kB / 0.5501 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.394, allocations: 0 / 0.5501 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.394, allocations: 0 / 0.5501 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.3956, allocations: 0.8667 MB / 0.551 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3956, allocations: 8.156 kB / 0.551 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.3958, allocations: 43.97 kB / 0.551 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003526/0.3994, allocations: 444.2 kB / 0.5514 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.3994, allocations: 11.98 kB / 0.5515 GB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006291/0.4, allocations: 0.607 MB / 0.5521 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4, allocations: 4.031 kB / 0.5521 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4011, allocations: 0.5104 MB / 0.5526 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.4012, allocations: 47.64 kB / 0.5526 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/0.4013, allocations: 19.92 kB / 0.5526 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.4016, allocations: 19.98 kB / 0.5526 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.4017, allocations: 23.91 kB / 0.5527 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.4017, allocations: 15.98 kB / 0.5527 GB, free: 2.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000472/0.4022, allocations: 331.1 kB / 0.553 GB, free: 2.473 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4022, allocations: 0 / 0.553 GB, free: 2.473 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001208/0.4034, allocations: 350.9 kB / 0.5533 GB, free: 2.129 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.001119/0.4045, allocations: 459.1 kB / 0.5538 GB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009818/0.4055, allocations: 363.8 kB / 0.5541 GB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4055, allocations: 0 / 0.5541 GB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.4059, allocations: 151.7 kB / 0.5543 GB, free: 1.164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.4074, allocations: 331.1 kB / 0.5546 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.4092, allocations: 0.8661 MB / 0.5554 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.4095, allocations: 267.2 kB / 0.5557 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001151/0.4106, allocations: 0.5406 MB / 0.5562 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.4109, allocations: 88.39 kB / 0.5563 GB, free: 15.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4109, allocations: 0 / 0.5563 GB, free: 15.04 MB / 442.7 MB Notification: Performance of Templates: time 0.03226/0.4432, allocations: 16.65 MB / 0.5725 GB, free: 14.63 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.943155285087414]