Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.002041/0.002041, 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.002269/0.002269, 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.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3264/0.3264, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.848e-05, allocations: 5.547 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3515/0.3515, allocations: 161.6 MB / 0.5243 GB, free: 6.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005081/0.3566, allocations: 3.4 MB / 0.5276 GB, free: 4.355 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.3573, allocations: 20.84 kB / 0.5276 GB, free: 4.344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009609/0.3582, allocations: 317.4 kB / 0.5279 GB, free: 4.164 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.3623, allocations: 1.788 MB / 0.5297 GB, free: 3.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.3641, allocations: 0.7306 MB / 0.5304 GB, free: 2.918 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.3658, allocations: 1.556 MB / 0.5319 GB, free: 2.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006112/0.3664, allocations: 366.5 kB / 0.5323 GB, free: 1.941 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.3676, allocations: 0.8052 MB / 0.5331 GB, free: 1.602 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.3681, allocations: 419.2 kB / 0.5335 GB, free: 1.465 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.3682, allocations: 50.09 kB / 0.5335 GB, free: 1.465 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.3703, allocations: 1.134 MB / 0.5346 GB, free: 1.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.3705, allocations: 168.6 kB / 0.5348 GB, free: 1.062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.3707, allocations: 243.8 kB / 0.535 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.3728, allocations: 1.743 MB / 0.5367 GB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3728, allocations: 0 / 0.5367 GB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3728, allocations: 4 kB / 0.5367 GB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.3728, allocations: 0 / 0.5367 GB, free: 328 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.001865/0.3746, allocations: 1.028 MB / 0.5377 GB, free: 15.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3747, allocations: 8.219 kB / 0.5377 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.3758, allocations: 225.3 kB / 0.5379 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.3767, allocations: 443.4 kB / 0.5384 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.3767, allocations: 29.03 kB / 0.5384 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/0.3768, allocations: 48.16 kB / 0.5384 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.3782, allocations: 0.8887 MB / 0.5393 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.3782, allocations: 7.688 kB / 0.5393 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/0.3782, allocations: 21.53 kB / 0.5393 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3782, allocations: 10.81 kB / 0.5393 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009475/0.3792, allocations: 472.7 kB / 0.5398 GB, free: 14.05 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.002935/0.3821, allocations: 1.884 MB / 0.5416 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/0.3829, allocations: 323.3 kB / 0.5419 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3832, allocations: 154.8 kB / 0.5421 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/0.3834, allocations: 50.25 kB / 0.5421 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3835, allocations: 37.5 kB / 0.5422 GB, free: 12.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.3835, allocations: 3.188 kB / 0.5422 GB, free: 12.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001771/0.3852, allocations: 0.6614 MB / 0.5428 GB, free: 11.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.3853, allocations: 135 kB / 0.543 GB, free: 11.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.3858, allocations: 404.4 kB / 0.5433 GB, free: 11.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.3859, allocations: 32.33 kB / 0.5434 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.3861, allocations: 285.5 kB / 0.5436 GB, free: 11.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.3863, allocations: 122.8 kB / 0.5438 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.3867, allocations: 98.39 kB / 0.5439 GB, free: 11.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3869, allocations: 361.2 kB / 0.5442 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.3872, allocations: 146.5 kB / 0.5443 GB, free: 10.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.3879, allocations: 362.1 kB / 0.5447 GB, free: 10.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.3888, allocations: 430.7 kB / 0.5451 GB, free: 9.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3888, allocations: 0 / 0.5451 GB, free: 9.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001104/0.3899, allocations: 0.546 MB / 0.5456 GB, free: 9.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3899, allocations: 5.156 kB / 0.5456 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3899, allocations: 5.406 kB / 0.5456 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.3915, allocations: 239.4 kB / 0.5459 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.3919, allocations: 118.5 kB / 0.546 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005882/0.3925, allocations: 0.5899 MB / 0.5466 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.3928, allocations: 38.25 kB / 0.5466 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/0.3929, allocations: 44.25 kB / 0.5466 GB, free: 8.961 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.0003051/0.3932, allocations: 179 kB / 0.5468 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.3933, allocations: 60.78 kB / 0.5469 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.3953, allocations: 1.084 MB / 0.5479 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3953, allocations: 2.906 kB / 0.5479 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3954, allocations: 0 / 0.5479 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3954, allocations: 0 / 0.5479 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.3968, allocations: 0.8568 MB / 0.5488 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3968, allocations: 5.844 kB / 0.5488 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.397, allocations: 48 kB / 0.5488 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/0.4004, allocations: 438.6 kB / 0.5492 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.4005, allocations: 9.281 kB / 0.5492 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005738/0.401, allocations: 0.6094 MB / 0.5498 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.401, allocations: 0 / 0.5498 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/0.4019, allocations: 0.5148 MB / 0.5503 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.402, allocations: 43.66 kB / 0.5504 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.4021, allocations: 20.58 kB / 0.5504 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.4024, allocations: 15.98 kB / 0.5504 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.4025, allocations: 23.95 kB / 0.5504 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.4026, allocations: 23.92 kB / 0.5505 GB, free: 6.215 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004756/0.403, allocations: 319.1 kB / 0.5508 GB, free: 5.902 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.403, allocations: 0 / 0.5508 GB, free: 5.902 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001199/0.4042, allocations: 346.9 kB / 0.5511 GB, free: 5.562 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.001073/0.4053, allocations: 463.5 kB / 0.5515 GB, free: 5.098 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009396/0.4062, allocations: 355.8 kB / 0.5519 GB, free: 4.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4062, allocations: 0 / 0.5519 GB, free: 4.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.4066, allocations: 160.9 kB / 0.552 GB, free: 4.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.4081, allocations: 324.3 kB / 0.5523 GB, free: 4.297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.41, allocations: 0.8492 MB / 0.5532 GB, free: 3.398 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4103, allocations: 258.9 kB / 0.5534 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001129/0.4114, allocations: 0.5445 MB / 0.5539 GB, free: 2.578 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.4117, allocations: 80.47 kB / 0.554 GB, free: 2.5 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4117, allocations: 0 / 0.554 GB, free: 2.5 MB / 426.7 MB Notification: Performance of Templates: time 0.03041/0.4421, allocations: 16.2 MB / 0.5698 GB, free: 2.543 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.899700202979147]