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.001448/0.001448, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001529/0.001529, allocations: 165 kB / 24.56 MB, free: 16 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 0.9707/0.9707, allocations: 177.2 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] 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.2631/0.2631, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.653e-06/1.653e-06, allocations: 0 / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.504e-05, allocations: 2.312 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.267/0.267, allocations: 148.9 MB / 0.5146 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.2704, allocations: 3.44 MB / 0.5179 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.2707, allocations: 27.19 kB / 0.518 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.2712, allocations: 176.1 kB / 0.5181 GB, free: 12.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.2734, allocations: 1.562 MB / 0.5196 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.2741, allocations: 0.5587 MB / 0.5202 GB, free: 11.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009509/0.2751, allocations: 1.541 MB / 0.5217 GB, free: 11.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.2754, allocations: 375.9 kB / 0.5221 GB, free: 10.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.276, allocations: 0.7644 MB / 0.5228 GB, free: 10.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.2764, allocations: 494.8 kB / 0.5233 GB, free: 10.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.2764, allocations: 51.75 kB / 0.5233 GB, free: 10.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.2775, allocations: 1.096 MB / 0.5244 GB, free: 10.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.985e-05/0.2776, allocations: 171.1 kB / 0.5246 GB, free: 10.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2778, allocations: 251 kB / 0.5248 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.279, allocations: 1.438 MB / 0.5262 GB, free: 9.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.279, allocations: 0 / 0.5262 GB, free: 9.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.279, allocations: 0 / 0.5262 GB, free: 9.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.279, allocations: 4 kB / 0.5262 GB, free: 9.527 MB / 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.001085/0.2801, allocations: 1.106 MB / 0.5273 GB, free: 8.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2801, allocations: 8.5 kB / 0.5273 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.2807, allocations: 219.5 kB / 0.5275 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.2811, allocations: 430.9 kB / 0.5279 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2811, allocations: 33.69 kB / 0.5279 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2811, allocations: 51.59 kB / 0.528 GB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000589/0.2817, allocations: 0.7997 MB / 0.5288 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2817, allocations: 6.625 kB / 0.5288 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.2818, allocations: 18.31 kB / 0.5288 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2818, allocations: 8.094 kB / 0.5288 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.2821, allocations: 272.9 kB / 0.5291 GB, free: 7.645 MB / 410.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.001303/0.2834, allocations: 2.272 MB / 0.5313 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.2838, allocations: 212.8 kB / 0.5315 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2839, allocations: 86.05 kB / 0.5316 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.284, allocations: 48.89 kB / 0.5316 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.284, allocations: 40.86 kB / 0.5317 GB, free: 5.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.284, allocations: 0 / 0.5317 GB, free: 5.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007676/0.2848, allocations: 476.9 kB / 0.5321 GB, free: 5.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.2848, allocations: 134 kB / 0.5322 GB, free: 5.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.285, allocations: 434.1 kB / 0.5327 GB, free: 5.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.2851, allocations: 32.3 kB / 0.5327 GB, free: 5.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.2852, allocations: 346.5 kB / 0.533 GB, free: 4.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.2852, allocations: 127.6 kB / 0.5331 GB, free: 4.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.2853, allocations: 104.7 kB / 0.5332 GB, free: 4.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.2854, allocations: 0.5274 MB / 0.5338 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2855, allocations: 69.27 kB / 0.5338 GB, free: 4.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.2856, allocations: 328.7 kB / 0.5341 GB, free: 3.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.2859, allocations: 324.4 kB / 0.5344 GB, free: 3.555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2859, allocations: 3.344 kB / 0.5344 GB, free: 3.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004326/0.2863, allocations: 408.9 kB / 0.5348 GB, free: 3.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2864, allocations: 9.938 kB / 0.5348 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2864, allocations: 3 kB / 0.5348 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.287, allocations: 205.9 kB / 0.535 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.2872, allocations: 104.1 kB / 0.5351 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002314/0.2874, allocations: 0.8216 MB / 0.5359 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.2875, allocations: 42.31 kB / 0.536 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.2876, allocations: 49.94 kB / 0.536 GB, free: 2.516 MB / 410.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.0001116/0.2877, allocations: 181.3 kB / 0.5362 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.2878, allocations: 56.53 kB / 0.5363 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009095/0.2887, allocations: 0.9703 MB / 0.5372 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2887, allocations: 2.938 kB / 0.5372 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2887, allocations: 2.25 kB / 0.5372 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2887, allocations: 0 / 0.5372 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.2894, allocations: 0.8486 MB / 0.538 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2894, allocations: 2.406 kB / 0.538 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2895, allocations: 55.53 kB / 0.5381 GB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.2905, allocations: 317.4 kB / 0.5384 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.2906, allocations: 13.62 kB / 0.5384 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001917/0.2908, allocations: 0.838 MB / 0.5392 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2908, allocations: 2.562 kB / 0.5392 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.2911, allocations: 468 kB / 0.5397 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.2911, allocations: 48.17 kB / 0.5397 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.2912, allocations: 15.23 kB / 0.5397 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2913, allocations: 17.2 kB / 0.5398 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.2914, allocations: 29.16 kB / 0.5398 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.2914, allocations: 22.11 kB / 0.5398 GB, free: 164 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.2915, allocations: 308.6 kB / 0.5401 GB, free: 0 / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2915, allocations: 128 / 0.5401 GB, free: 16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005518/0.2921, allocations: 347 kB / 0.5404 GB, free: 15.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.0006321/0.2927, allocations: 417.5 kB / 0.5408 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.2931, allocations: 252.2 kB / 0.5411 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2931, allocations: 0 / 0.5411 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2933, allocations: 118.4 kB / 0.5412 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.294, allocations: 327.4 kB / 0.5415 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2952, allocations: 0.844 MB / 0.5423 GB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.2952, allocations: 125.5 kB / 0.5424 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005115/0.2958, allocations: 491.4 kB / 0.5429 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2959, allocations: 90.72 kB / 0.543 GB, free: 14.6 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2959, allocations: 2.875 kB / 0.543 GB, free: 14.6 MB / 426.7 MB Notification: Performance of Templates: time 0.01825/0.3141, allocations: 18.54 MB / 0.5611 GB, free: 13.93 MB / 442.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8681469559669495]